Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix prose about H and V path commands #779

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions master/paths.html
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,11 @@ <h3 id="PathDataLinetoCommands">The <strong>"lineto"</strong> commands</h3>
that absolute coordinates will follow; <strong>h</strong>
(lowercase) indicates that relative coordinates will
follow. Multiple x values can be provided (although usually
this doesn't make sense). An <strong>H</strong> or <strong>h</strong>
command is equivalent to an <strong>L</strong> or <strong>l</strong>
command with 0 specified for the y coordinate.
this doesn't make sense). An <strong>h</strong> command is
equivalent to an <strong>l</strong> command with 0 specified
for the y coordinate. An <strong>H</strong> command is
equivalent to an <strong>L</strong> command with the y coordinate
being equal to the absolute y coordinate of the current point.
At the end of the command, the new current point is
taken from the final coordinate value.</td>
</tr>
Expand All @@ -482,9 +484,11 @@ <h3 id="PathDataLinetoCommands">The <strong>"lineto"</strong> commands</h3>
absolute coordinates will follow; <strong>v</strong>
(lowercase) indicates that relative coordinates will
follow. Multiple y values can be provided (although usually
this doesn't make sense). A <strong>V</strong> or <strong>v</strong>
command is equivalent to an <strong>L</strong> or <strong>l</strong>
command with 0 specified for the x coordinate.
this doesn't make sense). A <strong>v</strong> command is
equivalent to an <strong>l</strong> command with 0 specified
for the x coordinate. A <strong>V</strong> command is
equivalent to an <strong>L</strong> command with the x coordinate
being equal to the absolute x coordinate of the current point.
At the end of the command, the new current point is
taken from the final coordinate value.</td>
</tr>
Expand Down