[cairo] _cairo_pattern_create_copy()

Vladimir Vukicevic vladimir at pobox.com
Thu May 1 09:12:18 PDT 2008


On May 1, 2008, at 6:45 AM, Chris Wilson wrote:
>
> I would like to push the _cairo_pattern_create_copy() down into the  
> PDF
> backend - I hesitate in case I've missed some subtlety in the
> interactions of the various paginated/meta/pdf layers that requires a
> reference rather than a copy. (And someone needs to review the use of
> cairo_pattern_reference within the Quartz backend.)

For Quartz at least, the reference is only held during the backend  
operation, never beyond that, so that should be safe.  (I think that's  
what you're asking?)

    - Vlad



More information about the cairo mailing list