Re: Public API for pattern duplication (Mark Vender)
Mark Vender <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
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, [email protected] 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
>
>
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo