W3C home > Mailing lists > Public > www-svg@w3.org > February 2004

Re: path and direction

From: Chris Lilley <chris@w3.org>
Date: Fri, 6 Feb 2004 16:19:55 +0100
Message-ID: <1211157874.20040206161955@w3.org>
To: Greg Sepesi <sepesi@eduneer.com>
Cc: www-svg@w3.org

On Thursday, February 5, 2004, 4:48:26 AM, Greg wrote:


GS> I've implemented a directed graph library that I'd like to call from
GS> SVG's JavaScript.  

GS> I appreciate that SVG paths can be defined just once in the <defs>
GS> element and then reused in rendering the paths, labeling the paths, and
GS> defining animation traversing the paths.  I've just started to seriously
GS> delve into SVG and I'm beginning to think that I'll need to duplicate
GS> the path definitions: one for each direction.  There are cases when
GS> <textPath> requires the path in one direction in order for the text to
GS> appear on the preferred side of the path, but <mpath> requires the path
GS> in the other direction for animating a shortest path solution.  Does SVG
GS> 1.1 have some path direction control that I've overlooked?

1.1 does not, no.

1.2 does. See
http://www.w3.org/TR/SVG12/#veReverse-element



-- 
 Chris                            mailto:chris@w3.org
Received on Friday, 6 February 2004 10:20:08 GMT

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