On Fri, Apr 23, 2010 at 9:14 PM, Benjamin Otte <span dir="ltr"><<a href="mailto:otte@redhat.com">otte@redhat.com</a>></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's a great idea, I only fear it'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 "total conversion" for the backends (which<br>
will probably take almost as long).<br></blockquote><div><br>Yeah, it's a lot of work.<br><br>Rob<br></div></div>-- <br>"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 53:5-6]<br>