[svg-paths] Define normalised path

Jarek Foksa <[email protected]>
Newsgroups gmane.comp.web.svg
Message-ID <[email protected]>
The spec should be more clear what is the output of path.getPathData({normalise: true});

I would propose to define the normalized path as a path that consists from zero or more subpaths where each subpath must start with "M" segment, followed by one or more "C" or "L" segments, optionally followed by "Z" segment.

From my experience paths normalised to this subset are the easiest to work with as you don't need to perform repetitive checks for special cases like multiple subsequent “M” segs.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.