W3C home > Mailing lists > Public > www-svg@w3.org > November 2010

Re: Allowing path data to start with any segment type

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 12 Nov 2010 10:30:24 +1300
Message-ID: <AANLkTinOxhWZwS4_o0QbKT-d59SRjyT5SS1uwkqo9WOb@mail.gmail.com>
To: Alex Danilo <alex@abbra.com>
Cc: Jonathan Watt <jwatt@jwatt.org>, www-svg <www-svg@w3.org>
On Fri, Nov 12, 2010 at 9:32 AM, Alex Danilo <alex@abbra.com> wrote:

>        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.

So there's precedent, but precedent alone isn't a very strong argument here.
If people are used to always providing a moveto as the first path component,
they can continue to do that with Jonathan's proposal and everything will

       If authors are that silly and don't realize their mistake they need

A well-designed language minimizes the amount of RTFMing.

AFAIK the only significant argument against changing this is that it
introduces potential interop problems with existing UAs for only a small
gain. But the next time we extend path syntax, I think we should definitely
start allowing non-movetos as the first component.

"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Thursday, 11 November 2010 21:30:52 UTC

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