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 - - - - - - - DISCLAIMER - - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
De Winne, Joris wrote:
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?
Joris,
It sounds like you are doing something similar to the Inkboard project (http://inkboard.sf.net). David Yip is working on bringing that code into mainline Inkscape, and should be comitting that to CVS in a week or so. I would recommend looking there first, or perhaps, you can use that code directly for the application your working on.
--Ted
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
Adib Taraben wrote:
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...
It might be interesting to see what you could do with Inkboard for that also. If you sent the changes that you wanted to make to the Jabber server, you'd get changes on the Inkscape document. Inkview could probably be set up for something similar. The downside is that you'd have to maintain some elements of an SVG document on your server for continuity. Might be interesting though -- and it'd be a good test platform for the whiteboard code.
--Ted
participants (3)
-
Adib Taraben
-
De Winne, Joris
-
Ted Gould