Hello,

Thanks for helping.

When I create my SVGDocument using

SAXSVGDocumentFactory saxDocFac = new SAXSVGDocumentFactory(null);
try {
     svgDocument = saxDocFac.createSVGDocument(iconLibrary.getIconURL());
} catch (IOException ex) {
     ex.printStackTrace();
}

then I would get a null bbox.  But when I get SVGDocument from JSVGCanvas,
my bbox is not null.  I also checked to see if the documents where the same
by viewing it on JSVGCanvas, and it appears that they are the same.  Why is
it that when I use the one created by SAXSVGDocumentFactory I get null?  Is
it because I passed null to SAXSVGDocumentFactory?

Also, it appears that bbox is not what I need.  What I am doing is drawing a
dot on click on an overlay.  And then if the user would click near the edge
of a circle for example, it would draw the dot on the circle's edge.  Anyone
hints on how I would implement this?  Again any hints would be much
appreciated.  Thanks.
-- 
View this message in context: 
http://www.nabble.com/Determine-points-in-JSVGCanvas-tf2948761.html#a8302026
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to