pilatfr wrote:

> In ASV3 you have only dummy getCTM(), you get matrix for transform 
> from parent node only.
> You can computing many getCTM() to retrieve transfo from svg root.

    This is correct.

> In ASV6beta you have true getCTM() from svg root, getScreenCTM() 
> from window and getTransformToElement() from any node in tree

    This is misleading.  In ADV6beta getCTM() is still not quite
correct (and in fact getCTM is almost _never_ what people want).
First getCTM goes to the closest ancestor SVG element not to the
root SVG element.  So if you have more than one SVG element
(which is very nice on occation) you will still need to chain
them to get to the root.

    Second getCTM is supposed to go to a weird coordinate system,
it is the coordinate system after applying the 'x','y' transform but
before applying the viewBox transform (which would be userspace)
(ASV 6 mis-implements this to go to the userspace coordinate system).

    If you want the transform to the userspace of the root SVG
element use:

    var mat = e.getTransformToElement(document.root)



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

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

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