--- In svg-developers@yahoogroups.com, Raks A <raks...@...> wrote:
>
> But what are the browsers which support all the SVG DOM Apis. We are
> creating a drawing tool where we want to allow the users to scale and rotate
> a closed path using the mouse. Now we can capture the mouse events but
> unless and untill there is a fast way to get a SVGPath element
> object, scaling the co-ordinates by parsing the path data every time with
> every mouse event would make the drawing would un-responsive to user

In SVG-edit [1], we did it this way: when the user is moving/resizing the 
element, change its transform attribute and when the user lifts the mouse, 
recompute the coordinates of the shape.


> Surprisingly there is no mention of SVG Ecmascript bindings in mozilla
> documentation

Just use the W3C SVG 1.1 spec for the DOM.

Regards,
Jeff Schiller

[1] http://svg-edit.googlecode.com/svn/trunk/editor/svg-editor.html





------------------------------------

-----
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    svg-developers-dig...@yahoogroups.com 
    svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    svg-developers-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to