[pygtk] svg to cairo

Arjan Molenaar gaphor at gmail.com
Thu Feb 17 14:41:38 WST 2011


Hi,

I'm looking for some tool that generates a bunch of cairo statements out of an svg (not render it to a bitmap directly like librsvg). AFAIK cairo does not support such a thing. I want to use this in my UML tool (http://gaphor.sf.net) for defining stereotype icons and such. Is there already something like this?

My idea is to get a list of executable commands (or function-argument pairs) in a list and just "execute" the list on a cairo context.

Any ideas?

Regards,

Arjan


More information about the pygtk mailing list