[cairo] Wanted to be a Cairo's user

cecashon at aol.com cecashon at aol.com
Sat Nov 3 19:46:42 UTC 2018


 
Hi Flow,

50.000 or 50,000 knots sounds like a lot to draw. What kind of shapes are you drawing?

If you are looking for getting the max fps, maybe opengl. If you need to output to different surfaces, print output, draw text, etc. cairo might be a good choice. If you use GTK you can try both and use what works best for your situation.

This uses cairo to draw some vector boids with a fps timer. Maybe it is of some help.
https://gitlab.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/cairo_drawings/boids2.c

Eric
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20181103/c6fedbe0/attachment.html>


More information about the cairo mailing list