[cairo] Making cairo_meta_surface public

Vladimir Vukicevic vladimirv at gmail.com
Wed Feb 8 12:07:28 PST 2006


On 2/8/06, Radek Doulík <rodo at novell.com> wrote:
> On Wed, 2006-02-01 at 12:45 -0800, Carl Worth wrote:
> > When we first envisioned the meta-surface stuff we anticipated both
> > internal and external uses for it. I definitely want to get the
> > internal stuff working solidly and stressing the implementation
> > semantics of the meta-surface before we consider exporting this.
> >
> > So I think this is at least a post-1.2.0 discussion item.
> >
> > One of the interesting opportunities for "external" meta-surfaces is
> > the ability to use cairo to draw to a surface, and use that to create
> > a pattern uses as a source with some transformation. The benefit here
> > would be that the replayed meta-surface source would provide nice
> > pre-rasterization scaling of all paths, etc.
>
> It would be also useful for debugging/tracing - to see what is cairo
> asked to do.
>
> Or is there already some dummy backend able to dump the calls?

I've got half of such a backend written; it just does a passthrough to
an wrapped backend, while recording some call stats and optinally
dumping log output.  I ran into a problem where a few places checked
for non-NULL function pointers (that didn't handle a UNSUPPORTED
return), and I haven't gotten around to fixing those yet.  I'll try to
finish this up in the next week or two.

    - Vlad


More information about the cairo mailing list