W3C home > Mailing lists > Public > www-svg@w3.org > December 2014

clarification request

From: Charles Law <charles.law@gmail.com>
Date: Fri, 28 Nov 2014 10:26:08 -0800
Message-ID: <CAGBJ4zjJ_s=tEqf-xVOXkB3-kSbDg7WN+Hs-7qRvgA5ZVm5TWA@mail.gmail.com>
To: www-svg@w3.org
I would like to add a clarification to some of the path command
descriptions for relative commands.  I look at this spec every once in a
while for a random project, and I always wonder, what are the points
relative to?  I end up making a small SVG to test out what happens.
I am looking specifically at 8.3.2 The "moveto" commands.  I request to
change:

"If a moveto is followed by multiple pairs of coordinates, the subsequent
pairs are treated as implicit lineto commands."

to

"If a moveto is followed by multiple pairs of coordinates, the subsequent
pairs are treated as implicit lineto commands, and relative points will be
relative to the previous pair of points."

The lineto command could use a similar clarification.  I haven't tested
that out though.

I also find this sentance in 8.3.1 confusing:

"For the relative versions of the commands, all coordinate values are
relative to the current point at the start of the command."

If it is technically true, it's misleading in the moveto case.

Also, if I got anything wrong, feel free to correct.  I mostly want to help
make the docs clearer.
Thanks,
Charles
Received on Monday, 1 December 2014 19:49:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:38 UTC