[cairo] retain image among multiple draw events

Lokesh Chakka lvenkatakumarchakka at gmail.com
Tue Jun 16 01:23:26 PDT 2015


hello,

I am using GtkDrawingArea for drawing images using cairo graphics. I
connected one call back function for draw event.
This call back will be executed multiple times. I am observing that, what
ever drawing happened in the previous call, is disappearing when the same
call back function is called next time.

I want to know how to retain the previously drawn image. If it is a sample
program, it will be more helpful to me.
Can some body please help me in this ?

Thanks & Regards
--
Lokesh Chakka,
Mobile: 9731023458
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20150616/919ce1a3/attachment.html>


More information about the cairo mailing list