Re: Editing SVG content with Cairo
Emmanuel PACAUD <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <1388860982.2002.2.camel@lappc-p348> |
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. -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo