minimal cairo drawing loop

Davide Calaminici <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAEjMnsc1ER+G22xVP3Y6moVKD-Jbgfku2nWbPVqTvoo80=yoYQ@mail.gmail.com>
Hello everyone,

just looking for a simple c code to create a minimal drawing loop.

What i want to get is the following.

Load an image
create a surface where to draw

draw lines on the surface
clear the drawing area without cancelling the background image
draw again


eventually, is it possible to use two surface and swap the surface in a
similar way of the double buffering technique?

thank you very much.

--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.