[html5] r1757 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu Jun 12 18:39:47 PDT 2008


Author: ianh
Date: 2008-06-12 18:39:46 -0700 (Thu, 12 Jun 2008)
New Revision: 1757

Modified:
   index
   source
Log:
[gow] (2) Define behaviour for arcTo() with r=0.

Modified: index
===================================================================
--- index	2008-06-13 01:37:39 UTC (rev 1756)
+++ index	2008-06-13 01:39:46 UTC (rev 1757)
@@ -19416,10 +19416,11 @@
   <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
@@ -19428,7 +19429,7 @@
    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

Modified: source
===================================================================
--- source	2008-06-13 01:37:39 UTC (rev 1756)
+++ source	2008-06-13 01:39:46 UTC (rev 1757)
@@ -17041,10 +17041,10 @@
   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
@@ -17053,9 +17053,9 @@
   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




More information about the Commit-Watchers mailing list