[cairo] minimal cairo drawing loop

Stefan Salewski mail at ssalewski.de
Tue May 8 07:53:02 PDT 2012


On Tue, 2012-05-08 at 15:21 +0300, Dov Grobgeld wrote:
> Cairo is a library for drawing images, and it does not have any user
> interface associated with it. The questions you ask are assuming that you
> have an event loop where you have redrawing etc. That is not the case for
> cairo.

Maybe he was looking for something like the zetcode star demo

http://zetcode.com/tutorials/cairographicstutorial/transformations/

Adding a background image should be not too difficult.

Or something like

http://cairographics.org/threaded_animation_with_cairo/




More information about the cairo mailing list