On Thu, 29 Jul 2004, Anatoly Podlesnuk wrote:
From what I have to start?
I found this document about extensions http://www.inkscape.org/cgi-bin/wiki.pl?ExtensionsSystem
Note that this was a proposal; some of it isn't fully implemented. The key parts were implemented though and are usable in inkscape.
If I have correctly understood I have to make binary that convert SVG file to SWF file. And this binary should work separately from inkscape. So I leave my code to parse SVG file.
That's correct, although it doesn't have to be a binary. It just needs to operate on stdin and emit stdout. Optionally, it should take some cmdline options.
I offer the following plan of work
- To alter an existing code (to make order from chaos). I do it now.
- To add IMAGES and GRADIENTS support. Now it is possible to convert such nodes as rect, circle, ellipse, path, g, animate, animateMotion, text, tspan (in my home copy).
- test it separatly from inkscape
- test it with inkscape
What do you thik about it?
This looks good so far. Note that instead of:
$ ./svg2swf --from 1.svg --to 1.swf
It must work like this:
$ svg2swf 1.svg > 1.swf
which is the more standard UNIX way for such tools to behave.
Bryce