ANN: svg2cairo v0.1 -- Convert SVG graphics to cairo source code

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ANN: svg2cairo v0.1 -- Convert SVG graphics to cairo source code

Andreas Krinke
Svg2cairo converts SVG files to the equivalent cairo source code.

https://github.com/akrinke/svg2cairo

This is interesting for those, that use oocairo [1] as cairo binding and
want to render some SVGs. Svg2cairo converts SVGs to Lua code for
oocairo, that renders the graphics.

Besides Lua code for oocairo, svg2cairo can generate C source code and
Lua code for Scrupp [2]. The addition of new formats is straightforward.

Windows binaries are available for download at GitHub:
https://github.com/downloads/akrinke/svg2cairo/svg2cairo-0.1-win32.zip

Linux users need to custom compile cairo with XML surface support, that
is not enabled by default.

[1] http://git.naquadah.org/?p=oocairo.git
[2] http://scrupp.sourceforge.net