[Cairo] another set of Python bindings

Carl Worth cworth at east.isi.edu
Thu Sep 11 09:20:01 PDT 2003


On Sep 11, James Henstridge wrote:
 > I have put together some prototype Python bindings for Cairo.  These are 
 > not based on Maarten Breddels' bindings, which I didn't know about when 
 > I started mine.
 > 
 > I put up a snapshot of the source code at:
 >     http://www.gnome.org/~james/pycairo-SNAP-20030911.tar.gz

James,

Thanks for your contribution here.

If you'd like to host this in CVS alongside Cairo, please send me a
public (dsa) ssh key, and we can set that up.

Of course, that means we'll have to resolve the name conflict since
you and Maarten both chose the natural "pycairo". I'm not qualified to
comment on whether the two approaches are distinct enough to merit
independent projects, or whether it would be better to try to
cooperate on a single project.

 > It would be quite useful if Cairo exposed on cairo_t and 
 > cairo_surface_t.  At the moment, the Python wrappers in my binding own 
 > the context or surface, and destroy them when the wrapper gets
 > destroyed.

I'm afraid I didn't understand your comment here. Is the deficiency
here in Cairo itself or in the pycairo bindings? If there's something
that Cairo could do differently that would make your job easier,
please let me know.

-Carl




More information about the cairo mailing list