How can I implement "undo" and "redo" in Cairo application?

SeongWon Cho <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <31636479.189961346806770926.JavaMail.weblogic@epv6ml04>
Hi, all

Does Anybody have a good idea how to implement "undo" and "redo" in Cairo application?
I can use pair of APIs, cairo_image_surface_get_data() and cairo_image_surface_create_for_data() to store and to restore of buffer but I have no idea this is a correct approach or not.

Please feel free to give me any advises and ideas.

Thanks.
Cho


 조 성 원 선임/ Cho, Seong Won
    SLP R&D Group

   Mobile Device Division.
   Telecommunication Network
   Samsung Electronics Co. Ltd.
   Phone : +82-31-301-5373       Mobile : +82-10-7260-5373
   Mail : [email protected]
-- 
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.