path closing

In the current SVG spec. the only way to close a path is with a straight line.

I propose to add a way for closing with arcs and curves:
- closing a path defines that it\'s last point is the same as the first (within 
a path segment)
- a path may be closed with a curve if there would be no ending point for the 
curve buth a \'z\' that would define the that the end point of the curve is the 
same as the end point of the path segment and the first point of the path 
segment
- than the definition of S,s,T and t should be changed to use the control 
points of the last curve in a path for the first control point

All this can be inplemented with compatibility to SVG 1.0

EXAMPLE:
NOW:
<path class=\"SamplePath\" d=\"M100,200 ... C100,100 250,100 100,200 z\" />
PROPOSED:
<path class=\"SamplePath\" d=\"M100,200 ... C100,100 250,100 z\" />
<path class=\"SamplePath\" d=\"M100,200 ... S100,100 z\" />
...


iztok jeras
www.rattus.info

Received on Wednesday, 13 March 2002 07:53:46 UTC