- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 13 Jun 2008 01:38:46 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv20769 Modified Files: Overview.html Log Message: Clarify arc() for arcs greater than 2pi. (whatwg r1756) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.945 retrieving revision 1.946 diff -u -d -r1.945 -r1.946 --- Overview.html 12 Jun 2008 23:11:37 -0000 1.945 +++ Overview.html 13 Jun 2008 01:38:44 -0000 1.946 @@ -59,7 +59,7 @@ for HTML and XHTML</h2> <h2 class="no-num no-toc" id=editors0><!-- "W3C Working Draft" --> - Editor's Draft <!--ZZZ-->12 June 2008</h2> + Editor's Draft <!--ZZZ-->13 June 2008</h2> <dl><!-- ZZZ: update the month/day <dt>This Version:</dt> @@ -207,7 +207,7 @@ <p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working Group</a> is the W3C working group responsible for this specification's progress along - the W3C Recommendation track. <!--ZZZ:--> This specification is the 12 + the W3C Recommendation track. <!--ZZZ:--> This specification is the 13 June 2008 <!--ZZZ "Working Draft"-->Editor's Draft. <!--:ZZZ--></p> <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> <!-- relationship to other work (required) --> @@ -19580,17 +19580,23 @@ The arc and its start and end points are defined as follows: <p>Consider a circle that has its origin at (<var title="">x</var>, <var - title="">y</var>) and that has radius <var title="">radius</var>. The - points at <var title="">startAngle</var> and <var title="">endAngle</var> - along the circle's circumference, measured in radians clockwise from the - positive x-axis, are the start and end points respectively. The arc is the - path along the circumference of this circle from the start point to the - end point, going anti-clockwise if the <var title="">anticlockwise</var> - argument is true, and clockwise otherwise. Since the points are on the - circle, as opposed to being simply angles from zero, the arc can never - cover an angle greater than 2π radians. If the two angles are equal, or - if the radius is zero, then the arc is defined as being of zero length in - both directions. + title="">y</var>) and that has radius <var title="">radius</var>. + + <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 2π, then the arc is the whole circumference of this + circle. + + <p>Otherwise, the points at <var title="">startAngle</var> and <var + title="">endAngle</var> along this circle's circumference, measured in + radians clockwise from the positive x-axis, are the start and end points + respectively. The arc is the path along the circumference of this circle + from the start point to the end point, going anti-clockwise if the <var + title="">anticlockwise</var> argument is true, and clockwise otherwise. + Since the points are on the circle, as opposed to being simply angles from + zero, the arc can never cover an angle greater than 2π radians. If the + two angles are equal, or if the radius is zero, then the arc is defined as + being of zero length in both directions. <p>Negative values for <var title="">radius</var> must cause the implementation to raise an <code>INDEX_SIZE_ERR</code> exception.
Received on Friday, 13 June 2008 01:39:24 UTC