On Fri, Apr 23, 2010 at 9:14 PM, Benjamin Otte <span dir="ltr">&lt;<a href="mailto:otte@redhat.com">otte@redhat.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
So what you basically want is a custom cairo_gstate_t?<br></blockquote><div><br>No, a custom cairo_t. Most of these APIs have their own state save/restore mechanisms.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I think that&#39;s a great idea, I only fear it&#39;d take a lot of code to get<br>
that abstraction going and to make sure it sits at the right place. And<br>
only then can you start the &quot;total conversion&quot; for the backends (which<br>
will probably take almost as long).<br></blockquote><div><br>Yeah, it&#39;s a lot of work.<br><br>Rob<br></div></div>-- <br>&quot;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.&quot; [Isaiah 53:5-6]<br>