[cairo] request for pattern duplication function

Theo Veenker Theo.Veenker at let.uu.nl
Fri Oct 3 14:23:52 PDT 2008

Hi all,

In my application I need to be able to copy a pattern. Now I do that in my
application. I'd prefer having a cairo API for doing this. Otherwise I'd
need to update my code each time when new pattern types are added to cairo
(assuming that will happen).

I like to suggest an API for duplicating a pattern, something like:
   cairo_pattern_t* cairo_pattern_copy(cairo_pattern_t *pattern);

Could this be added to the wishlist please?


More information about the cairo mailing list