I want to write a mapping/GIS application. I was hoping to find an 'SVG canvas' library that I could use to render the graphics. Librsvg is not ideal because it simply renders the entire SVG document at once. Rather I am looking for something that watches a DOM tree and renders changes as they occur. Do Inkscape or sodipodi have any such internal structure, or could they be used as a basis for such a thing? Seems like people are going to be writing a lot of low-level SVG rendering code otherwise.
On Thu, 27 Nov 2003, Ian Grant wrote:
I want to write a mapping/GIS application. I was hoping to find an 'SVG canvas' library that I could use to render the graphics. Librsvg is not ideal because it simply renders the entire SVG document at once. Rather I am looking for something that watches a DOM tree and renders changes as they occur. Do Inkscape or sodipodi have any such internal structure, or could they be used as a basis for such a thing? Seems like people are going to be writing a lot of low-level SVG rendering code otherwise.
Hi Ian,
Yes Inkscape does have such an internal structure. A few months ago Mental had begun work on breaking this out into a separate SVG Canvas but I don't think the work reached a completion point. It might give you a strong headstart to build off of that; in any case I'm certain Mental would not mind elaborating on what the plan with that was - see if you can catch him in Jabber one of these evenings.
Bryce
participants (2)
-
Bryce Harrington
-
Ian Grant