[cairo] API Shakeup: cairo_current_path -> cairo_copy_path_data

Carl Worth cworth at cworth.org
Sun Mar 20 22:37:09 PST 2005


On Wed, 16 Mar 2005 17:10:56 -0500, Carl Worth wrote:
> What I'm now leaning toward is adding a new cairo_path_t structure to
> wrap the cairo_path_data_t array, provide a length for it, and allow
> us to have a cairo_path_destroy function with obvious usage. In
> concrete terms, the new stuff would be:
> 
> 	typedef struct cairo_path {
> 	    cairo_path_data_t *data;
> 	    int num_data;
> 	} cairo_path_t;
> 
> 	void
> 	cairo_path_destroy (cairo_path_t *path);
[...]
> If that's not controversial, I've got a patch ready to commit, (though
> it's pretty boring to be posted here).

This is committed now.

-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/20050321/75d49dd3/attachment.pgp


More information about the cairo mailing list