retain image among multiple draw events

Lokesh Chakka <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CACh--sgxT4Z7j3JgOz0H+d4yi9i4SM7AK2nMnO5NGTx69knpmg@mail.gmail.com>
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

-- 
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.