
6 Dec
2012
6 Dec
'12
10:44 p.m.
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