[cairo] introducing a "context backend"

Robert O'Callahan robert at ocallahan.org
Fri Apr 23 02:27:26 PDT 2010

On Fri, Apr 23, 2010 at 9:14 PM, Benjamin Otte <otte at redhat.com> wrote:

> So what you basically want is a custom cairo_gstate_t?

No, a custom cairo_t. Most of these APIs have their own state save/restore

I think that's a great idea, I only fear it'd take a lot of code to get
> that abstraction going and to make sure it sits at the right place. And
> only then can you start the "total conversion" for the backends (which
> will probably take almost as long).

Yeah, it's a lot of work.

"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100423/4b924fb1/attachment.html>

More information about the cairo mailing list