so, when i release mouse button i map the new position of my shape and then i get the bounding box...at this point i create a new svgpoint...i read your answer to K.W. Landry...but...i don't know how to continue:
DOMMouseEvent eleEvt = (DOMMouseEvent)evt; shape = (Element)eleEvt.getTarget(); SVGMatrix mat = ((SVGLocatable)shape).getScreenCTM(); SVGMatrix imat = mat.inverse(); shapeBound = ((SVGLocatable)shape).getBBox(); SVGPoint cPt = doc.getRootElement().createSVGPoint(); cPt.setX(eleEvt.getClientX()); cPt.setY(eleEvt.getClientY()); cPt = cPt.matrixTransform(imat); -- View this message in context: http://www.nabble.com/update-bounding-box-position-tf2786041.html#a7919092 Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
