W3C home > Mailing lists > Public > www-svg@w3.org > November 2002

animateMotion' example: tiny suggestion

From: Tobias Reif <tobiasreif@pinkjuice.com>
Date: Thu, 14 Nov 2002 09:11:48 +0100
Message-ID: <3DD35AC4.3090906@pinkjuice.com>
To: www-svg@w3.org

Hi

just a tiny suggestion:

In the example in
   http://www.w3.org/TR/SVG/animate.html#AnimateMotionElement
   http://www.w3.org/TR/SVG11/animate.html#AnimateMotionElement
the path is defined redundantly:

######################################################################
<path d="M100,250 C 100,50 400,50 400,250"

<!-- Define the motion path animation -->
<animateMotion [...]
   path="M100,250 C 100,50 400,50 400,250" />
######################################################################

I'm sure you're aware of that. But perhaps it would make sense to do

######################################################################
<path id="path" d="M100,250 C 100,50 400,50 400,250" [...]

<!-- Define the motion path animation -->
<animateMotion [...]>
   <mpath xlink:href="#path"/>
</animateMotion>
######################################################################

Tobi

-- 
http://www.pinkjuice.com/
Received on Thursday, 14 November 2002 03:12:22 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:23 GMT