[cairo] cairo_image_surface_create_for_data() args
otaylor at redhat.com
Thu May 12 07:53:42 PDT 2005
[ https://bugs.freedesktop.org/show_bug.cgi?id=3277 ]
This is something that has been bothering me recently:
cairo_image_surface_create (cairo_format_t format,
cairo_image_surface_create_for_data (unsigned char *data,
While I can see why you'd order the create_for_data() args in that
order if it was an independent function, as a variant of _create(),
adding one arg before and one after is just really peculiar.
If both args were after, then it would fit well into a
"optional arguments" pattern.
Worth an incompatible API change? I don't know.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050512/37b2f4d7/attachment.pgp
More information about the cairo