[cairo] save/restore smart ptr? [cairomm]

Ian Britten britten at caris.com
Thu Aug 27 05:45:08 PDT 2009


Hi all,
Has anyone given any thought to providing a custom smart pointer
(helper class) for the save/restore functionality on the Context?
Sortof like http://docs.wxwidgets.org/stable/wx_wxdcclipper.html

It seems like it'd be an ideal candidate, and would save users
from having to manually call restore() all the time...

Just a suggestion...
Ian


More information about the cairo mailing list