Discussion:
animateTransform, type matrix?
arnorro
2004-11-17 17:45:39 UTC
Permalink
Hi,

i can describe all transformations with a matrix transformation using
transform="matrix(...)". it works great!
now i'm trying to animate this matrix transformation like i do with
rotation, translation, etc.

i do it like this:
<animateTransform id="anim01" xlink:href="#group01"
attributeName="transform" type="matrix"
begin="0s" dur="5s"
from="0" to="-0.939693, 0.342020, -0.342020, -0.939693, 250, 200"
fill="freeze" />

group01 is a simple group with an rectangle in it. if a animate
translate or rotate, it works perfectly and if i transform the group
with the above matrix, it works. but this animation doesn't work. why?

does anybody know, how to do it? thanks for help.

regards,

norro





------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~->

-----
To unsubscribe send a message to: svg-developers-***@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/

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

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Heiko Niemann
2004-11-17 22:13:33 UTC
Permalink
Hi Norro,

see:
http://www.w3.org/TR/2003/REC-SVG11-20030114/animate.html

19.2.14 The 'animateTransform' element

Attribute definitions:

type = "translate | scale | rotate | skewX | skewY"

no matrix :(

Regards-
-Heiko
Post by arnorro
Hi,
i can describe all transformations with a matrix transformation using
transform="matrix(...)". it works great!
now i'm trying to animate this matrix transformation like i do with
rotation, translation, etc.
<animateTransform id="anim01" xlink:href="#group01"
attributeName="transform" type="matrix"
begin="0s" dur="5s"
from="0" to="-0.939693, 0.342020, -0.342020, -0.939693, 250,
200"
Post by arnorro
fill="freeze" />
group01 is a simple group with an rectangle in it. if a animate
translate or rotate, it works perfectly and if i transform the group
with the above matrix, it works. but this animation doesn't work. why?
does anybody know, how to do it? thanks for help.
regards,
norro
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~->

-----
To unsubscribe send a message to: svg-developers-***@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/

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

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

Loading...