Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[gow] (2) Define behaviour for arcTo() with r=0.
git-svn-id: http://svn.whatwg.org/webapps@1757 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 13, 2008
1 parent 75d8c60 commit 6ec6303
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
11 changes: 6 additions & 5 deletions index
Expand Up @@ -19416,10 +19416,11 @@ notes on what would need to be defined for dashed lines:
<p>If the point (<var title="">x0</var>, <var title="">y0</var>) is equal
to the point (<var title="">x1</var>, <var title="">y1</var>), or if the
point (<var title="">x1</var>, <var title="">y1</var>) is equal to the
point (<var title="">x2</var>, <var title="">y2</var>), then the method
must add the point (<var title="">x1</var>, <var title="">y1</var>) to the
subpath, and connect that point to the previous point (<var
title="">x0</var>, <var title="">y0</var>) by a straight line.
point (<var title="">x2</var>, <var title="">y2</var>), or if the radius
<var title="">radius</var> is zero, then the method must add the point
(<var title="">x1</var>, <var title="">y1</var>) to the subpath, and
connect that point to the previous point (<var title="">x0</var>, <var
title="">y0</var>) by a straight line.

<p>Otherwise, if the points (<var title="">x0</var>, <var
title="">y0</var>), (<var title="">x1</var>, <var title="">y1</var>), and
Expand All @@ -19428,7 +19429,7 @@ notes on what would need to be defined for dashed lines:
title="">y0</var>) to (<var title="">x1</var>, <var title="">y1</var>) is
the same as the direction from (<var title="">x1</var>, <var
title="">y1</var>) to (<var title="">x2</var>, <var title="">y2</var>),
then method must add the point (<var title="">x1</var>, <var
then the method must add the point (<var title="">x1</var>, <var
title="">y1</var>) to the subpath, and connect that point to the previous
point (<var title="">x0</var>, <var title="">y0</var>) by a straight line;
otherwise, the direction from (<var title="">x0</var>, <var
Expand Down
14 changes: 7 additions & 7 deletions source
Expand Up @@ -17041,10 +17041,10 @@ notes on what would need to be defined for dashed lines:
equal to the point (<var title="">x1</var>, <var title="">y1</var>),
or if the point (<var title="">x1</var>, <var title="">y1</var>) is
equal to the point (<var title="">x2</var>, <var title="">y2</var>),
then the method must add the point (<var title="">x1</var>, <var
title="">y1</var>) to the subpath, and connect that point to the
previous point (<var title="">x0</var>, <var title="">y0</var>) by a
straight line.</p>
or if the radius <var title="">radius</var> is zero, then the method
must add the point (<var title="">x1</var>, <var title="">y1</var>)
to the subpath, and connect that point to the previous point (<var
title="">x0</var>, <var title="">y0</var>) by a straight line.</p>

<p>Otherwise, if the points (<var title="">x0</var>, <var
title="">y0</var>), (<var title="">x1</var>, <var
Expand All @@ -17053,9 +17053,9 @@ notes on what would need to be defined for dashed lines:
direction from (<var title="">x0</var>, <var title="">y0</var>) to
(<var title="">x1</var>, <var title="">y1</var>) is the same as the
direction from (<var title="">x1</var>, <var title="">y1</var>) to
(<var title="">x2</var>, <var title="">y2</var>), then method must
add the point (<var title="">x1</var>, <var title="">y1</var>) to
the subpath, and connect that point to the previous point (<var
(<var title="">x2</var>, <var title="">y2</var>), then the method
must add the point (<var title="">x1</var>, <var title="">y1</var>)
to the subpath, and connect that point to the previous point (<var
title="">x0</var>, <var title="">y0</var>) by a straight line;
otherwise, the direction from (<var title="">x0</var>, <var
title="">y0</var>) to (<var title="">x1</var>, <var
Expand Down

0 comments on commit 6ec6303

Please sign in to comment.