--- In [email protected], "tabergst" <[EMAIL PROTECTED]> wrote: > > Hi! > > I'm using Firefox 1.5 and have not figured out a way to convert mouse > event coordinates to SVG-coordinates. > The getScreenCTM() which I'm using only returns the transformation > matrix between the viewBox and viewPort, which is not useful. > > In SVG 1.2 spec the definition of the getScreenCTM() is changed so > that it should solve this problem, i.e. it returns the matrix between > mouse coordinates and the svg coordinates. > > Any solutions???!!! > > BR Thomas >
I recently had the same problem. I used a JavaScript function written by Holger Will to solve this problem. You can read about it here: http://blog.codedread.com/archives/2005/12/21/how-to-enable-dragging-in-svg/ and look at the SVG file to get the function. ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

