[cairo] Cleaning up the PDF API

Carl Worth cworth at cworth.org
Mon May 16 10:39:42 PDT 2005


On Mon, 16 May 2005 13:28:25 -0400, Kristian Høgsberg wrote:
> We do have this two phases destruction on all surfaces.  It's just that
> in the stream based case, the underlying resource that we destroy going
> from active to finished is user supplied and we don't know how to
> destroy it - thus the callback.

But could we move the user_data destruction to the active->finished
transition? If so, it seems we could unify these two concepts and
simplify things for the user.

Or does the user really care about the finished->destroyed transition?
It doesn't seem immediately useful to me, but I'm clearly not
well-versed in all the anticipated uses of user_data.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050516/ef7f3dcd/attachment.pgp


More information about the cairo mailing list