html5/2dcontext Overview.html,1.74,1.75

Update of /sources/public/html5/2dcontext
In directory hutz:/tmp/cvs-serv6303

Modified Files:
	Overview.html 
Log Message:
Make the anticlockwise argument to arc() optional default false. (whatwg r5512)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/2dcontext/Overview.html,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- Overview.html	24 Sep 2010 21:59:27 -0000	1.74
+++ Overview.html	26 Sep 2010 16:44:10 -0000	1.75
@@ -313,7 +313,7 @@
 
    <h1>HTML Canvas 2D Context</h1>
    <h2 class="no-num no-toc" id="generatedID"></h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-24-september-2010">Editor's Draft 24 September 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-26-september-2010">Editor's Draft 26 September 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/2dcontext/">http://www.w3.org/TR/2dcontext/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -408,7 +408,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 24 September 2010 Editor's Draft.
+  This specification is the 26 September 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><!-- (this text is from the RDFa+HTML spec --><p>This specification is an extension to the HTML5 language. All
@@ -527,7 +527,7 @@
   void <a href="#dom-context-2d-beziercurveto" title="dom-context-2d-bezierCurveTo">bezierCurveTo</a>(in double cp1x, in double cp1y, in double cp2x, in double cp2y, in double x, in double y);
   void <a href="#dom-context-2d-arcto" title="dom-context-2d-arcTo">arcTo</a>(in double x1, in double y1, in double x2, in double y2, in double radius);
   void <a href="#dom-context-2d-rect" title="dom-context-2d-rect">rect</a>(in double x, in double y, in double w, in double h);
-  void <a href="#dom-context-2d-arc" title="dom-context-2d-arc">arc</a>(in double x, in double y, in double radius, in double startAngle, in double endAngle, in boolean anticlockwise);
+  void <a href="#dom-context-2d-arc" title="dom-context-2d-arc">arc</a>(in double x, in double y, in double radius, in double startAngle, in double endAngle, in optional boolean anticlockwise);
   void <a href="#dom-context-2d-fill" title="dom-context-2d-fill">fill</a>();
   void <a href="#dom-context-2d-stroke" title="dom-context-2d-stroke">stroke</a>();
   void <a href="#dom-context-2d-clip" title="dom-context-2d-clip">clip</a>();
@@ -1720,15 +1720,15 @@
 
    </dd>
 
-   <dt><var title="">context</var> . <code title="dom-context-2d-arc"><a href="#dom-context-2d-arc">arc</a></code>(<var title="">x</var>, <var title="">y</var>, <var title="">radius</var>, <var title="">startAngle</var>, <var title="">endAngle</var>, <var title="">anticlockwise</var>)</dt>
+   <dt><var title="">context</var> . <code title="dom-context-2d-arc"><a href="#dom-context-2d-arc">arc</a></code>(<var title="">x</var>, <var title="">y</var>, <var title="">radius</var>, <var title="">startAngle</var>, <var title="">endAngle</var> [, <var title="">anticlockwise</var> ] )</dt>
 
    <dd>
 
     <p>Adds points to the subpath such that the arc described by the
     circumference of the circle described by the arguments, starting
     at the given start angle and ending at the given end angle, going
-    in the given direction, is added to the path, connected to the
-    previous point by a straight line.</p>
+    in the given direction (defaulting to clockwise), is added to the
+    path, connected to the previous point by a straight line.</p>
 
     <p>Throws an <code>INDEX_SIZE_ERR</code> exception if the given
     radius is negative.</p>
@@ -1895,19 +1895,11 @@
   measured in radians clockwise from the positive x-axis, are the
   start and end points respectively.</p>
 
-  <p>If the <var title="">anticlockwise</var> argument is false and
-  <span title=""><var title="">endAngle</var>-<var title="">startAngle</var></span> is equal to or greater than
-  <span title="">2&pi;</span>, or, if the <var title="">anticlockwise</var>
+  <p>If the <var title="">anticlockwise</var> argument is omitted or
+  false and <span title=""><var title="">endAngle</var>-<var title="">startAngle</var></span> is equal to or greater than <span title="">2&pi;</span>, or, if the <var title="">anticlockwise</var>
   argument is <em>true</em> and <span title=""><var title="">startAngle</var>-<var title="">endAngle</var></span> is
-  equal to or greater than <span title="">2&pi;</span>, then the arc is the
-  whole circumference of this circle.</p>
-
-  <!--alternatively (this is not equivalent, but might make more
-  sense, if browsers are willing to change to it: <p>If the absolute
-  magnitude of the difference between the <var
-  title="">startAngle</var> and <var title="">endAngle</var> angles is
-  equal to or greater than <span title="">2&pi;</span>, then the arc is the
-  whole circumference of this circle.</p>-->
+  equal to or greater than <span title="">2&pi;</span>, then the arc
+  is the whole circumference of this circle.</p>
 
   <p>Otherwise, the arc is the path along the circumference of this
   circle from the start point to the end point, going anti-clockwise

Received on Sunday, 26 September 2010 16:44:15 UTC