[html5] r3477 - [e] (0) Minor fixups to the bezierCurveTo() intro and make arcTo() behaviour cle [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jul 27 16:51:09 PDT 2009


Author: ianh
Date: 2009-07-27 16:51:08 -0700 (Mon, 27 Jul 2009)
New Revision: 3477

Modified:
   index
   source
Log:
[e] (0) Minor fixups to the bezierCurveTo() intro and make arcTo() behaviour clearer by merging two paragraphs.

Modified: index
===================================================================
--- index	2009-07-27 23:47:55 UTC (rev 3476)
+++ index	2009-07-27 23:51:08 UTC (rev 3477)
@@ -24217,7 +24217,7 @@
 
    </dd>
 
-   <dt><var title="">context</var> . <code title=dom-context-2d-bezierCurveTo><a href=#dom-context-2d-beziercurveto>bezierCurveTo</a></code>(<var title="">cpx</var>, <var title="">cpy</var>, <var title="">x</var>, <var title="">y</var>)</dt>
+   <dt><var title="">context</var> . <code title=dom-context-2d-bezierCurveTo><a href=#dom-context-2d-beziercurveto>bezierCurveTo</a></code>(<var title="">cp1x</var>, <var title="">cp1y</var>, <var title="">cp2x</var>, <var title="">cp2y</var>, <var title="">x</var>, <var title="">y</var>)</dt>
 
    <dd>
 
@@ -24392,13 +24392,13 @@
   point tangent to the half-infinite line that ends at the point (<var title="">x1</var>, <var title="">y1</var>) and crosses the point
   (<var title="">x2</var>, <var title="">y2</var>). The points at
   which this circle touches these two lines are called the start and
-  end tangent points respectively.</p>
+  end tangent points respectively. The method must connect the point
+  (<var title="">x0</var>, <var title="">y0</var>) to the start
+  tangent point by a straight line, adding the start tangent point to
+  the subpath, and then must connect the start tangent point to the
+  end tangent point by <var title="">The Arc</var>, adding the end
+  tangent point to the subpath.</p>
 
-  <p>The method must connect the point (<var title="">x0</var>, <var title="">y0</var>) to the start tangent point by a straight line,
-  adding the start tangent point to the subpath, and then must connect
-  the start tangent point to the end tangent point by <var title="">The Arc</var>, adding the end tangent point to the
-  subpath.</p>
-
   <hr><p>The <dfn id=dom-context-2d-arc title=dom-context-2d-arc><code>arc(<var title="">x</var>, <var title="">y</var>, <var title="">radius</var>,
   <var title="">startAngle</var>, <var title="">endAngle</var>, <var title="">anticlockwise</var>)</code></dfn> method draws an arc. If
   the context has any subpaths, then the method must add a straight

Modified: source
===================================================================
--- source	2009-07-27 23:47:55 UTC (rev 3476)
+++ source	2009-07-27 23:51:08 UTC (rev 3477)
@@ -26411,7 +26411,7 @@
 
    </dd>
 
-   <dt><var title="">context</var> . <code title="dom-context-2d-bezierCurveTo">bezierCurveTo</code>(<var title="">cpx</var>, <var title="">cpy</var>, <var title="">x</var>, <var title="">y</var>)</dt>
+   <dt><var title="">context</var> . <code title="dom-context-2d-bezierCurveTo">bezierCurveTo</code>(<var title="">cp1x</var>, <var title="">cp1y</var>, <var title="">cp2x</var>, <var title="">cp2y</var>, <var title="">x</var>, <var title="">y</var>)</dt>
 
    <dd>
 
@@ -26625,15 +26625,13 @@
   title="">x1</var>, <var title="">y1</var>) and crosses the point
   (<var title="">x2</var>, <var title="">y2</var>). The points at
   which this circle touches these two lines are called the start and
-  end tangent points respectively.</p>
+  end tangent points respectively. The method must connect the point
+  (<var title="">x0</var>, <var title="">y0</var>) to the start
+  tangent point by a straight line, adding the start tangent point to
+  the subpath, and then must connect the start tangent point to the
+  end tangent point by <var title="">The Arc</var>, adding the end
+  tangent point to the subpath.</p>
 
-  <p>The method must connect the point (<var title="">x0</var>, <var
-  title="">y0</var>) to the start tangent point by a straight line,
-  adding the start tangent point to the subpath, and then must connect
-  the start tangent point to the end tangent point by <var
-  title="">The Arc</var>, adding the end tangent point to the
-  subpath.</p>
-
   <hr>
 
   <p>The <dfn title="dom-context-2d-arc"><code>arc(<var




More information about the Commit-Watchers mailing list