Re: path and direction

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


Received on Friday, 6 February 2004 10:20:08 UTC