[Gambas-user] Cairo in Gambas
Fabien Bodard
gambas.fr at gmail.com
Sun May 17 13:17:22 CEST 2020
It remember me ...I miss a way to use paint method of qt without gui stuff
Le jeu. 14 mai 2020 à 04:51, Benoît Minisini <g4mba5 at gmail.com> a écrit :
> Le 14/05/2020 à 04:45, Benoît Minisini a écrit :
> > Le 14/05/2020 à 04:43, Benoît Minisini a écrit :
> >> Le 14/05/2020 à 04:14, martin p cristia a écrit :
> >>> Sad to hear that because Cairo is 5-10 times faster that Paint as can
> >>> be seen in the project attatched.
> >>>
> >>> Not sure what you mean about the "linux toolkit"
> >>>
> >>> El 5/13/20 a las 3:51 PM, user-request at lists.gambas-basic.org
> escribió:
> >>>> Re: Cairo in Gambas
> >>>> Note that nobody apparently maintains Cairo anymore. The Linux GUI
> >>>> toolkit situation is not quite good at the moment...
> >>>
> >>
> >> If you use Qt4. If you use Qt5, Paint class is 3x times faster than
> >> Cairo.
> >>
> >> It seems there is a problem with Qt4.
> >>
> >
> > Anyway, your benchmark is silly. You mainly test the drawing of rotated
> > text. If you remove the rotation, you will get about the same speed
> > whatever you use (with always a bit of slowness with qt4).
> >
>
> Moreover, it has many bugs and useless method calls (like Paint.Stroke).
>
> If you want to compare, you have to do exactly the same thing in both
> drawing routines. In ohter words, what is displayed should be the same,
> except for the text which is never drawn the same way between toolkits.
>
> Regards,
>
> --
> Benoît Minisini
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200517/4181c350/attachment.html>
More information about the User
mailing list