[cairo] pycairo and PIL

Owen Taylor otaylor at redhat.com
Mon Oct 17 06:56:13 PDT 2005


On Mon, 2005-10-17 at 10:43 +0800, Steve Chaplin wrote:
> On Mon, 2005-10-10 at 21:15 +0800, Steve Chaplin wrote:
> > In the meantime I'll have a look at creating a cairo patch and creating
> > a surface.to_rgba() method using the patch.
> I've added a new method image_surface.to_rgba() to pycairo cvs. See the
> INSTALL file for the installation instructions.

This is tromping on the Cairo namespace. Not that I consider it likely that 
cairo_image_surface_to_rgba() will be ever added (it sounds like a function
to convert an image surface to a color value, which would be a weird function),
but I think language bindings should be careful about adding functions with
new names into Cairo that aren't carefully distinguished from the cairo
core.

Regards,
						Owen


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20051017/1f3a5e52/attachment.pgp


More information about the cairo mailing list