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

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

- Raks A

On Mon, Jan 10, 2011 at 6:02 PM, [email protected] <[email protected]> wrote:

>
>
> --- In [email protected] <svg-developers%40yahoogroups.com>,
> Raks A <raks...@...> wrote:
> >
> > While searching I saw an api called getBBox(). But when I search in
> mozilla
> > documentation I do not find any such DOM API, but certain search result
> > mentions such an API.
> >
>
> The getBBox is part of the JavaScript SVG API specs[1]. David Dailey has a
> nice little example of its usage[2], including handling transforms. There is
> also getScreenBBox(), but it's not well supported (yet).
>
> Thomas W.
>
> [1] http://www.w3.org/TR/SVGTiny12/ecmascript-binding.html#module-svg
> [2] http://srufaculty.sru.edu/david.dailey/svg/getCTM.svg
>
>  
>


[Non-text portions of this message have been removed]



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

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