Re: changing from mouse event coordinates to SVG-coordinates
- --- In firstname.lastname@example.org, "tabergst"
> 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
by Holger Will to solve this problem. You can read about it here:
and look at the SVG file to get the function.