> i did not quite understand.. where will i get the matrix? through the element > that i want the coordinates converted? do i get the inverse of the matrix > and apply it to the point? i did that but i get the coordinates on the > canvas and not on the screen..
Although slightly off-topic, there's an interactive sample [1] which may help demonstrating the concept Thomas Deweese was reffering to. Getting screen coordinates makes it work even then the container element is resized (read "not using 1:1 scaling"). The dragging in demo works as expected when you resize the viewport, for example - in more naive samples, when you did that you ended up with a drag which was quicker or slower than expected due to the screen transform. Hope this helps, Helder Magalhães [1] http://blog.codedread.com/archives/2005/12/21/how-to-enable-dragging-in-svg/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
