[cairo] Public API for pattern duplication (Mark Vender)

Mark Vender markv743 at yahoo.co.uk
Mon Feb 27 10:23:20 PST 2012


Could someone indicate whether this function is still welcome to cairo? 
If the problem is that just nobody else is interested, I could easily 
contribute a patch adding this functionality myself.

     Cheers,
     Mark

On 02/21/2012 12:22 AM, markv743 at yahoo.co.uk wrote:
>
> Hello,
>
> Cairo currently has no public API for pattern duplication. This
> functionality would simplify usage of cairo in the case when there's a
> need to use a modified pattern for drawing, but the given pattern itself
> must not be modified.
>
> The function for pattern copying is included in the TODO list as
> `cairo_pattern_copy`. It seems that the implementation is already in
> master as `_cairo_pattern_create_copy`, so probably only a wrapper
> around that function is needed.
>
>       Thanks,
>       Mark
>
>



More information about the cairo mailing list