<div dir="auto">It remember me ...I miss a way to use paint method of qt without gui stuff</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 14 mai 2020 à 04:51, Benoît Minisini <<a href="mailto:g4mba5@gmail.com">g4mba5@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 14/05/2020 à 04:45, Benoît Minisini a écrit :<br>
> Le 14/05/2020 à 04:43, Benoît Minisini a écrit :<br>
>> Le 14/05/2020 à 04:14, martin p cristia a écrit :<br>
>>> Sad to hear that because Cairo is 5-10 times faster that Paint as can <br>
>>> be seen in the project attatched.<br>
>>><br>
>>> Not sure what you mean about the "linux toolkit"<br>
>>><br>
>>> El 5/13/20 a las 3:51 PM, <a href="mailto:user-request@lists.gambas-basic.org" target="_blank" rel="noreferrer">user-request@lists.gambas-basic.org</a> escribió:<br>
>>>> Re: Cairo in Gambas<br>
>>>> Note that nobody apparently maintains Cairo anymore. The Linux GUI<br>
>>>> toolkit situation is not quite good at the moment...<br>
>>><br>
>><br>
>> If you use Qt4. If you use Qt5, Paint class is 3x times faster than <br>
>> Cairo.<br>
>><br>
>> It seems there is a problem with Qt4.<br>
>><br>
> <br>
> Anyway, your benchmark is silly. You mainly test the drawing of rotated <br>
> text. If you remove the rotation, you will get about the same speed <br>
> whatever you use (with always a bit of slowness with qt4).<br>
> <br>
<br>
Moreover, it has many bugs and useless method calls (like Paint.Stroke).<br>
<br>
If you want to compare, you have to do exactly the same thing in both <br>
drawing routines. In ohter words, what is displayed should be the same, <br>
except for the text which is never drawn the same way between toolkits.<br>
<br>
Regards,<br>
<br>
-- <br>
Benoît Minisini<br>
<br>
----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" rel="noreferrer noreferrer" target="_blank">http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
</blockquote></div>