[cairo] Editing SVG content with Cairo
dyoung at pobox.com
Wed Jan 8 21:50:05 PST 2014
On Sun, Jan 05, 2014 at 09:11:04PM +0900, 影月 零 wrote:
> What I need isn't necessarily a scene graph in whole as I need no actual
> rendering capability. I really just need to be able to manipulate the SVG
> data and I would like to do that in an object-oriented and language-native
> way, rather than hacking through XML with an XML library like Nokogiri.
> That no library like this seems to exist surprises me. I was really
> expecting to find something like COLLADA DOM (but hopefully easier to use)
> for SVG.
> For now I'll just hack the XML as I really only need to change colors. It
> feels like a poor way to do it but I guess I have no choice. Thanks for the
> help anyway!
A few years ago I had a student create some tools for editing streams
of XML data. They were essentially XML analogues to the UNIX grep/sed
tools. Tools like that might suffice for changing the colors.
dyoung at pobox.com Urbana, IL (217) 721-9981
More information about the cairo