
Hi,
my "dream" is that I have a Inkscape-canvas (or whatever it is called) and then I call some DOM functions through a (let´s say python interface) to change the document. We use something like this in our company for public information displays. Like you see this in an airport. But our svg implementation is ...urgh...
Adib. ---
De Winne, Joris schrieb:
Hello,
First of all, congratulations with the 0.42 release. I'll install it today or tomorow. I'm working on Inkscape to create an SVGViewer. Now I've seen in Inkscape that when I add in the user interface a rectangle, this rectangle is automatically added into the xml representation and also rendered. I would like to do the same, but with more complex structures.
To give an example: I'm listening on a socket and on that socket I can receive structures in the form:
<svg> <rect .... /> <rect .... /> <rect .... /> <rect .... /> .... </svg>
Those structures I want to add to my SPDocument and render them automatically without recreating a new SPDocument.
Does somebody know where I can find the code that is adding the rectangle in the Inkscape User Interface to the xml file and automatically renders the rectangle?
Any help is always welcome. Joris