[cairo] Editing SVG content with Cairo

Emmanuel PACAUD emmanuel.pacaud at lapp.in2p3.fr
Sat Jan 4 10:47:58 PST 2014


Le samedi 04 janvier 2014 à 11:00 +0000, Simon Sapin a écrit :
> You may want to look at CairoSVG (another renderer, in Python) and mess 
> with it’s internal tree representation, but that’s little more than the 
> XML tree.
> 
> http://cairosvg.org/
> https://github.com/Kozea/CairoSVG/blob/master/cairosvg/parser.py

Another option is lasem, which has a DOM like API:

https://wiki.gnome.org/Projects/Lasem
http://blogs.gnome.org/emmanuel/category/lasem/

Not a lot of development happens currently, but apart CSS and text
rendering, it's a already a pretty capable library.

	Cheers,

	Emmanuel.


More information about the cairo mailing list