[pygtk] Drawing SVG to a gtk.DrawingArea
Donn
donn.ingle at gmail.com
Fri Nov 2 15:58:03 WST 2007
> rsvg (http://library.gnome.org/devel/rsvg/stable/) claims to be the
> library to render svg files to gdk pixbufs or cairo contexts. Haven't
> had much succes with it tough (blurry render) but ymmv.
> It has python bindins in the gnome-python-desktop package.
>
Thanks, I guess I'll go have a look.
Does anyone know how a complex path could be captured to a series of python
cairo commands? I am picturing a tool to let a user draw a shape with the
mouse. The ends will meet and it will be filled. The output of that will be
a .py file containing cairo commands (arc and line etc.) to draw that shape
again.
/d
More information about the pygtk
mailing list