--- In [email protected], Raks A <raks...@...> wrote:
>
> But what are the browsers which support all the SVG DOM Apis.

I think at leats getBBox() is supported by all of them (as mentioned, 
getScreenBBox() unfortunately isn't).

> 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
> 

It's much simpler than that. The path data needn't be changed. (Don't change 
the path data! Parsing path syntax might cause you more trouble than it's 
worth.) I'd suggest working through an SVG tutorial that makes you familiar 
with the transform attribute, or have a look at the according chapter of the 
specs[1]. Rotation and scaling are essential concepts in SVG. 


[1] http://www.w3.org/TR/SVG/coords.html#TransformAttribute



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

-----
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/

<*> 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:
    [email protected] 
    [email protected]

<*> 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/

Reply via email to