SleeplessDad wrote:
I was wondering if there is a standard C or C++ library (XML based I guess?)that Inkscape uses for SVG manipulation?
Most of Inkscape's SVG-related code is 'homebrew' - we are not using any external library. However, you might look at libxml2 / libxml++ (which is used for XML parsing), libcroco (we use a fork of it to process CSS) or librsvg (which is an unrelated SVG rendering library, though it doesn't allow manipulating the rendered SVG).
Finally I am also not very good at Javascript. I was thinking that I could write a javascript program to refresh a browser so that each svg frame would be displayed in turn to preview the coming animation, transforming the SVG frames to PNGs is a pain. Does anyone know a javascript function that would help achieve this?
I'm not 100% what you want to do, but the proper way would be to animate the SVG with Javascript, so that it does the job of the Python script. However Inkscape can't help you with this, as it doesn't have animation features yet.
Regards, Krzysztof Kosiński