python scripting API docs...
I have looked, but I haven't been able to find these (or whatever source should be used). Any pointers?
Thanks much.
On Mon, 2006-08-07 at 14:09 -0500, Terry Brown wrote:
I have looked, but I haven't been able to find these (or whatever source should be used). Any pointers?
Well, we don't have any direct scripting into Inkscape currently. What you can do is take in an SVG file on STDIN and output it on STDOUT and Inkscape will wrap that into an extension.
If you do that, you can use any SVG document reader that you'd like. Typically people use the XML DOM in your language of choice. There are some Python helper libraries that Aaron has written, but I'm not aware of any documentation for those.
That's the tip of the iceburg. If you have more questions, you'll probably get better answers on inkscape-devel -- there are more people familiar with extensions there.
--Ted
participants (2)
-
Ted Gould
-
Terry Brown