[PATCH 1/2] print: Use cairo_save/cairo_restore to manage temporary cairo changes

Carl Worth cworth at cworth.org
Mon Feb 11 11:01:05 PST 2013


Salvador Cuñat <salvador.cunat at gmail.com> writes:
> Here is a patch for the rest of draw_page().
> Nothing exceptional,  just a clearer way of doing things if we are
> writing line by line.  Involves changes in the way of think of the
> printing model as explained in the patch.

I haven't tested this code at all, but reading through the patch it's
definitely a more sane approach to do things than what was in place
before.

Thanks for taking my simple example and expanding it throughout this
code.

-Carl

-- 
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130211/1699c998/attachment.pgp>


More information about the subsurface mailing list