Skip to content

Commit 68b8956

Browse files
committed
Added back instructions to avoid linetos that do not result in the cursor moving.
1 parent d806e61 commit 68b8956

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎2.0/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ A `LineTo` command with a command count of `n` MUST be immediately followed by `
152152
* Within POLYGON geometries, this segment extends the current linear ring.
153153
2. Moves the cursor to `(pX, pY)`.
154154

155+
For any pair of `(dX, dY)` the `dX` and `dY` SHOULD NOT both be `0`.
156+
155157
#### 4.3.3.3. ClosePath Command
156158

157159
A `ClosePath` command MUST have a command count of 1 and no parameters. The command closes the current linear ring of a POLYGON geometry via a line segment beginning at the cursor `(cX, cY)` and ending at the starting vertex of the current linear ring.

0 commit comments

Comments
 (0)