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

path closing

From: iztok jeras <iztok.jeras@rattus.info>
Date: Wed, 13 Mar 2002 13:53:13 +0100 (CET)
To: www-svg@w3.org
Message-ID: <1016023993.3c8f4bb96e957@webmail.domenca.com>
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 
- 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

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

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:53:54 UTC