Re: Public API for pattern duplication (Mark Vender)
"Maximilian Heinzler" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
I'm working on a c++ image library and I'm using a self-written cairo_pattern_copy at the moment which is much less efficient and more error prone than a version implemented in cairo, so I look forward for such a patch. I think a concrete use case would be the same as it is used in cairo-pdf - to hold a snapshot of a pattern which does not change if its original changes. I also hope for a public version of the cairo_*_set_status functions, but that's another issue. > -----Original Message----- > From: [email protected] [mailto:cairo- > [email protected]] On Behalf Of Chris Wilson > Sent: Monday, February 27, 2012 7:46 PM > To: Mark Vender; [email protected] > Subject: Re: [cairo] Public API for pattern duplication (Mark Vender) > > On Mon, 27 Feb 2012 20:23:20 +0200, Mark Vender <[email protected]> > wrote: > > 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. > > If you have a concrete use case and such functionality will be useful to > you, please do submit the patch to give a public entry point to > _cairo_pattern_create_copy(). Be prepared to justify your use case > though. ;) > -Chris > > -- > Chris Wilson, Intel Open Source Technology Centre > -- > cairo mailing list > [email protected] > http://lists.cairographics.org/mailman/listinfo/cairo -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo