hey all, guess I will answer my own question... I just took a getViewBoxTransform() and took the inverse and applied it to the point... thanks anyway!
-josh --- josh zeidner <[EMAIL PROTECTED]> wrote: > Hello, > > I would like to use MouseEvent coordinates for a > click on a JSVGCanvas to calculate a location in the > actual SVG document. In other words I want to > translate the viewing space to the real space of the > document as defined in the XML. Ex. I click on the > top of the square and I get the global coordinates > for > the top of the square relative to the entire SVG > document( even if most of it is not being displayed > in > the window ). I know there are several > affineTransforms available from the subclasses, > should > I use them? Is there an easy way to do this? > Thanks! > josh zeidner > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Find what you need with new enhanced > search. > http://info.mail.yahoo.com/mail_250 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
