xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bassiee <back_to_basic...@hotmail.com>
Subject handle svg file
Date Mon, 09 Apr 2007 17:02:37 GMT

I have to read a svg file (it's a floor plan) and get the begin- end
endpoint of each line, so I can use them the create a room and to create a
graph (not an image, a graph where the shortest path algorithm will be
applied to)...
I'm having trouble to find what i have to use to read each lines begin- end
endpoint coordinates. 
Also it is possible that some lines aren't saved in the svg file as a "line
tag", but for example as a" polyline tag" or a "square tag",  but I need the
coordinates to be to be saved in a list as a SINGLE line so I can make a
graph (using jung)
How do i handle this? Do I use the batik parser? Can you give me a tutorial
or some tips?
The rest of my program is in  java.
Don't worry about visualizing things that part is already taken care of...
Thank you for your help in advance!!!

View this message in context: http://www.nabble.com/handle-svg-file-tf3548370.html#a9905688
Sent from the Batik - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message