[cairo] Convert SVG to cairo C code

Krzysztof Kosiński tweenk.pl at gmail.com
Mon Sep 13 12:18:36 PDT 2010


2010/9/11 Andreas Krinke <andreas.krinke at gmx.de>:
> I would like to convert a SVG file to the aquivalent cairo C code to
> recreate the image later on.

This could be a nice output extension for Inkscape. It will be a lot
easier to write and support more SVG than a standalone script based on
librsvg.

Another idea is to use the cairo-trace functionality to trace librsvg
as it renders the image, then postprocess the output into C code.

Regards, Krzysztof


More information about the cairo mailing list