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

SeongWon Cho seongwon1.cho at samsung.com
Tue Sep 4 17:59:31 PDT 2012


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 : seongwon1.cho at samsung.com


More information about the cairo mailing list