Re: Allowing path data to start with any segment type

Jonathan,

	I think this is an extremely bad idea. Akmnost every graphics language
in the world requires some form of moveto as the first thing when drawing
polylines, paths etc.

	If authors are that silly and don't realize their mistake they need
to RTFM IMHO.

	As an implementer I'd strongly oppose this as it's totally unnecessary.

Alex

--Original Message--:
>The spec currently says that paths must start with a moveto command. I see no
>benefit in that requirement, and it acts as yet another gotcha. For authors who
>happen to want to start their path at {0,0} and assume they can omit the initial
>moveto, it's annoying to find their path is rejected. It's also unhelpful in
>cases when the path should start at a point other than {0,0}; rather than just
>causing the path to start at {0,0} which would provide a clear visual indication
>that the the moveto was forgotten, forgetting the moveto causes the path to fail
>to draw completely, providing no visual cue as to why.
>
>Would anyone have any objections to changing the spec to drop the requirement
>that path data must start with a moveto segment? It would say instead that path
>data that does not start with a moveto command should behave as if it started
>with the segment "M0,0", although such an "implicit" moveto would not appear in
>the DOM of course, since the author did not specify a moveto segment.
>
>Jonathan
>
>
>

Received on Thursday, 11 November 2010 20:33:24 UTC