[cairo] Proposal: cairo_save_state/cairo_restore_state

Behdad Esfahbod behdad at cs.toronto.edu
Tue Jan 24 17:58:56 PST 2006


On Tue, 24 Jan 2006, Owen Taylor wrote:

> Maybe it would make sense to come up with a slightly-non-trivial
> example of where this is useful? I'm not sure I see it yet.

In the expose handlers I guess.  You can have a few states set
up, just restore it and draw, then the next one.  That's still
trivial, I confess...


> Regards,
> 						Owen

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"


More information about the cairo mailing list