[cairo] Proposal: cairo_save_state/cairo_restore_state

Christian Biesinger cbiesinger at web.de
Tue Jan 24 05:18:40 PST 2006


Behdad Esfahbod wrote:
> You are right generally, but in this case, since saved states are
> immutable and cairo_t objects are not threadsafe anyway (cannot
> be used from two threads at the same time), I don't think any
> locking is needed, and the semantics I described does the job.

So can a state only be restored to the context from which it was created?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4762 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060124/8ea9d8bf/smime.bin


More information about the cairo mailing list