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

Correct sweep-flag in circle/ellipse equivalent paths #878

Open
wants to merge 1 commit 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
12 changes: 6 additions & 6 deletions master/shapes.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ <h2 id="CircleElement">The <span class="element-name">'circle'</span> element</h
clock-wise direction (before any transformations).
The <var>rx</var> and <var>ry</var> parameters to the arc commands
are both equal to the used value of the <a>'r'</a> property, after conversion to local user units,
while the <var>x-axis-rotation</var>,
the <var>large-arc-flag</var>,
and the <var>sweep-flag</var> are all set to zero.
while the <var>x-axis-rotation</var>
and the <var>large-arc-flag</var> are set to zero,
and the <var>sweep-flag</var> is set to one.
The coordinates are computed as follows,
where <var>cx</var>, <var>cy</var>, and <var>r</var> are the used values of the equivalent properties, converted to user units:
</p>
Expand Down Expand Up @@ -294,9 +294,9 @@ <h2 id="EllipseElement">The <span class="element-name">'ellipse'</span> element<
clock-wise direction (before any transformation).
The <var>rx</var> and <var>ry</var> parameters to the arc commands
are the used values of the equivalent properties after conversion to local user units,
while the <var>x-axis-rotation</var>,
the <var>large-arc-flag</var>,
and the <var>sweep-flag</var> are all set to zero.
while the <var>x-axis-rotation</var>
and the <var>large-arc-flag</var> are set to zero,
and the <var>sweep-flag</var> is set to one.
The coordinates are computed as follows,
where <var>cx</var>, <var>cy</var>, <var>rx</var>, and <var>ry</var>
are the used values of the equivalent properties, converted to user units:
Expand Down