Hi,
At today's SVG working group meeting we talked a bit about path syntax in regards to how paths are closed. It has been proposed that if the last point in in the last path command is missing that the first point in the path be used:
M x,y ... C x1,y1 x2,c2 z
would be the same as
M x,y ... C x1,y1 x2,2, x,y z
The advantage of the proposed syntax change is that if relative path commands are used, one can ensure that the path is closed properly without introducing the little closing line segment that can result from rounding error (if the last point doesn't fall exactly on top of the first).
What do people think about this?
Tav
2012/12/6 Tavmjong Bah <tavmjong@...8...>:
Hi,
At today's SVG working group meeting we talked a bit about path syntax in regards to how paths are closed. It has been proposed that if the last point in in the last path command is missing that the first point in the path be used:
M x,y ... C x1,y1 x2,c2 z
This sounds very sensible. Of course the first point of the current subpath should be used, instead of the first point of the entire path.
Regards, Krzysztof
participants (2)
-
Krzysztof Kosiński
-
Tavmjong Bah