Andres Toussaint wrote:
What is this SVGPoint referencing:
  SVGPoint pt = ...
Is it the click spot?

It's what ever you want, in this case probably the clientX/Y. This is a general technique so it can be applied to any point in the screen coordinate system.


Thanks.



SVGLocatable elem = ...; SVGPoint pt = ... SVGMatrix mat = elem.getScreenCTM(); // elem -> screen mat = mat.inverse(); // screen -> elem pt = pt.matrixTransform(pt); // from screen coords->elem






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






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



Reply via email to