On Sat, 2005-05-07 at 19:17 +0100, John Pybus wrote:
I'm new to programming with Batik. I'd like to determine the final rendered position of particular elements in an SVG document. I understand that I can parse the document into a DOM, and think I then need to use the bridge package to associate the DOM with gvt Nodes which I can query. Am I on the right track, and how would I go about doing this? The documentation is a bit light in this area.
I think you are correct.
Glad to hear I'm on track. My question is really how do I go about setting up the SVG/GVT Bridge; I'm not transcoding the SVG to anything else or rendering to an image, I just want to query positions. If I simply load my SVG into a batik DOM and query svgElement.getBBox() I get null pointer exceptions.
John
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
