[html5] r7018 - [e] (0) Minor tweaks to the path stuff Affected topics: Canvas

whatwg at whatwg.org whatwg at whatwg.org
Tue Mar 6 15:29:50 PST 2012


Author: ianh
Date: 2012-03-06 15:29:49 -0800 (Tue, 06 Mar 2012)
New Revision: 7018

Modified:
   complete.html
   index
   source
Log:
[e] (0) Minor tweaks to the path stuff
Affected topics: Canvas

Modified: complete.html
===================================================================
--- complete.html	2012-03-06 23:28:32 UTC (rev 7017)
+++ complete.html	2012-03-06 23:29:49 UTC (rev 7018)
@@ -606,12 +606,13 @@
          <li><a href=#shadows><span class=secno>4.8.11.1.6 </span>Shadows</a></li>
          <li><a href=#simple-shapes-(rectangles)><span class=secno>4.8.11.1.7 </span>Simple shapes (rectangles)</a></li>
          <li><a href=#complex-shapes-(paths)><span class=secno>4.8.11.1.8 </span>Complex shapes (paths)</a></li>
-         <li><a href=#text-0><span class=secno>4.8.11.1.9 </span>Text</a></li>
-         <li><a href=#images><span class=secno>4.8.11.1.10 </span>Images</a></li>
-         <li><a href=#pixel-manipulation><span class=secno>4.8.11.1.11 </span>Pixel manipulation</a></li>
-         <li><a href=#drawing-model><span class=secno>4.8.11.1.12 </span>Drawing model</a></li>
-         <li><a href=#best-practices><span class=secno>4.8.11.1.13 </span>Best practices</a></li>
-         <li><a href=#examples><span class=secno>4.8.11.1.14 </span>Examples</a></ol></li>
+         <li><a href=#the-current-default-path><span class=secno>4.8.11.1.9 </span>The current default path</a></li>
+         <li><a href=#text-0><span class=secno>4.8.11.1.10 </span>Text</a></li>
+         <li><a href=#images><span class=secno>4.8.11.1.11 </span>Images</a></li>
+         <li><a href=#pixel-manipulation><span class=secno>4.8.11.1.12 </span>Pixel manipulation</a></li>
+         <li><a href=#drawing-model><span class=secno>4.8.11.1.13 </span>Drawing model</a></li>
+         <li><a href=#best-practices><span class=secno>4.8.11.1.14 </span>Best practices</a></li>
+         <li><a href=#examples><span class=secno>4.8.11.1.15 </span>Examples</a></ol></li>
        <li><a href=#color-spaces-and-color-correction><span class=secno>4.8.11.2 </span>Color spaces and color correction</a></li>
        <li><a href=#security-with-canvas-elements><span class=secno>4.8.11.3 </span>Security with <code>canvas</code> elements</a></ol></li>
      <li><a href=#the-map-element><span class=secno>4.8.12 </span>The <code>map</code> element</a></li>
@@ -34904,7 +34905,7 @@
   void <a href=#dom-context-2d-fillrect title=dom-context-2d-fillRect>fillRect</a>(double x, double y, double w, double h);
   void <a href=#dom-context-2d-strokerect title=dom-context-2d-strokeRect>strokeRect</a>(double x, double y, double w, double h);
 
-  // default path API (see also <a href=#canvaspathmethods>CanvasPathMethods</a>)
+  // current default path API (see also <a href=#canvaspathmethods>CanvasPathMethods</a>)
   void <a href=#dom-context-2d-beginpath title=dom-context-2d-beginPath>beginPath</a>();
   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>();
@@ -36432,7 +36433,11 @@
 
   </div>
 
-  <hr><!-- XXX make this a new section --><p>The context always has a current default path. There is only one
+
+
+  <h6 id=the-current-default-path><span class=secno>4.8.11.1.9 </span>The current default path</h6>
+
+  <p>The context always has a current default path. There is only one
   current default path, it is not part of the <a href=#drawing-state>drawing
   state</a>. The current default path is a <a href=#path>path</a>, as
   described in the previous section.</p>
@@ -36770,7 +36775,7 @@
 
 
 
-  <h6 id=text-0><span class=secno>4.8.11.1.9 </span>Text</h6> <!-- a v3 feature -->
+  <h6 id=text-0><span class=secno>4.8.11.1.10 </span>Text</h6> <!-- a v3 feature -->
 
   <dl class=domintro><dt><var title="">context</var> . <code title=dom-context-2d-font><a href=#dom-context-2d-font>font</a></code> [ = <var title="">value</var> ]</dt>
 
@@ -37305,7 +37310,7 @@
 
 
 
-  <h6 id=images><span class=secno>4.8.11.1.10 </span>Images</h6>
+  <h6 id=images><span class=secno>4.8.11.1.11 </span>Images</h6>
 
   <p>To draw images onto the canvas, the <dfn id=dom-context-2d-drawimage title=dom-context-2d-drawImage><code>drawImage</code></dfn> method
   can be used.</p>
@@ -37449,7 +37454,7 @@
 
 
 
-  <h6 id=pixel-manipulation><span class=secno>4.8.11.1.11 </span><dfn>Pixel manipulation</dfn></h6>
+  <h6 id=pixel-manipulation><span class=secno>4.8.11.1.12 </span><dfn>Pixel manipulation</dfn></h6>
 
   <dl class=domintro><dt><var title="">imagedata</var> = <var title="">context</var> . <code title=dom-context-2d-createImageData><a href=#dom-context-2d-createimagedata>createImageData</a></code>(<var title="">sw</var>, <var title="">sh</var>)</dt>
 
@@ -37785,7 +37790,7 @@
 
   <div class=impl>
 
-  <h6 id=drawing-model><span class=secno>4.8.11.1.12 </span><dfn>Drawing model</dfn></h6>
+  <h6 id=drawing-model><span class=secno>4.8.11.1.13 </span><dfn>Drawing model</dfn></h6>
 
   <p>When a shape or image is painted, user agents must follow these
   steps, in the order given (or act as if they do):</p>
@@ -37816,7 +37821,7 @@
   </ol></div>
 
 
-  <h6 id=best-practices><span class=secno>4.8.11.1.13 </span>Best practices</h6>
+  <h6 id=best-practices><span class=secno>4.8.11.1.14 </span>Best practices</h6>
 
   <p><i>This section is non-normative.</i></p>
 
@@ -37878,7 +37883,7 @@
   attribute.</p>
 
 
-  <h6 id=examples><span class=secno>4.8.11.1.14 </span>Examples</h6>
+  <h6 id=examples><span class=secno>4.8.11.1.15 </span>Examples</h6>
 
   <p><i>This section is non-normative.</i></p>
 

Modified: index
===================================================================
--- index	2012-03-06 23:28:32 UTC (rev 7017)
+++ index	2012-03-06 23:29:49 UTC (rev 7018)
@@ -606,12 +606,13 @@
          <li><a href=#shadows><span class=secno>4.8.11.1.6 </span>Shadows</a></li>
          <li><a href=#simple-shapes-(rectangles)><span class=secno>4.8.11.1.7 </span>Simple shapes (rectangles)</a></li>
          <li><a href=#complex-shapes-(paths)><span class=secno>4.8.11.1.8 </span>Complex shapes (paths)</a></li>
-         <li><a href=#text-0><span class=secno>4.8.11.1.9 </span>Text</a></li>
-         <li><a href=#images><span class=secno>4.8.11.1.10 </span>Images</a></li>
-         <li><a href=#pixel-manipulation><span class=secno>4.8.11.1.11 </span>Pixel manipulation</a></li>
-         <li><a href=#drawing-model><span class=secno>4.8.11.1.12 </span>Drawing model</a></li>
-         <li><a href=#best-practices><span class=secno>4.8.11.1.13 </span>Best practices</a></li>
-         <li><a href=#examples><span class=secno>4.8.11.1.14 </span>Examples</a></ol></li>
+         <li><a href=#the-current-default-path><span class=secno>4.8.11.1.9 </span>The current default path</a></li>
+         <li><a href=#text-0><span class=secno>4.8.11.1.10 </span>Text</a></li>
+         <li><a href=#images><span class=secno>4.8.11.1.11 </span>Images</a></li>
+         <li><a href=#pixel-manipulation><span class=secno>4.8.11.1.12 </span>Pixel manipulation</a></li>
+         <li><a href=#drawing-model><span class=secno>4.8.11.1.13 </span>Drawing model</a></li>
+         <li><a href=#best-practices><span class=secno>4.8.11.1.14 </span>Best practices</a></li>
+         <li><a href=#examples><span class=secno>4.8.11.1.15 </span>Examples</a></ol></li>
        <li><a href=#color-spaces-and-color-correction><span class=secno>4.8.11.2 </span>Color spaces and color correction</a></li>
        <li><a href=#security-with-canvas-elements><span class=secno>4.8.11.3 </span>Security with <code>canvas</code> elements</a></ol></li>
      <li><a href=#the-map-element><span class=secno>4.8.12 </span>The <code>map</code> element</a></li>
@@ -34904,7 +34905,7 @@
   void <a href=#dom-context-2d-fillrect title=dom-context-2d-fillRect>fillRect</a>(double x, double y, double w, double h);
   void <a href=#dom-context-2d-strokerect title=dom-context-2d-strokeRect>strokeRect</a>(double x, double y, double w, double h);
 
-  // default path API (see also <a href=#canvaspathmethods>CanvasPathMethods</a>)
+  // current default path API (see also <a href=#canvaspathmethods>CanvasPathMethods</a>)
   void <a href=#dom-context-2d-beginpath title=dom-context-2d-beginPath>beginPath</a>();
   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>();
@@ -36432,7 +36433,11 @@
 
   </div>
 
-  <hr><!-- XXX make this a new section --><p>The context always has a current default path. There is only one
+
+
+  <h6 id=the-current-default-path><span class=secno>4.8.11.1.9 </span>The current default path</h6>
+
+  <p>The context always has a current default path. There is only one
   current default path, it is not part of the <a href=#drawing-state>drawing
   state</a>. The current default path is a <a href=#path>path</a>, as
   described in the previous section.</p>
@@ -36770,7 +36775,7 @@
 
 
 
-  <h6 id=text-0><span class=secno>4.8.11.1.9 </span>Text</h6> <!-- a v3 feature -->
+  <h6 id=text-0><span class=secno>4.8.11.1.10 </span>Text</h6> <!-- a v3 feature -->
 
   <dl class=domintro><dt><var title="">context</var> . <code title=dom-context-2d-font><a href=#dom-context-2d-font>font</a></code> [ = <var title="">value</var> ]</dt>
 
@@ -37305,7 +37310,7 @@
 
 
 
-  <h6 id=images><span class=secno>4.8.11.1.10 </span>Images</h6>
+  <h6 id=images><span class=secno>4.8.11.1.11 </span>Images</h6>
 
   <p>To draw images onto the canvas, the <dfn id=dom-context-2d-drawimage title=dom-context-2d-drawImage><code>drawImage</code></dfn> method
   can be used.</p>
@@ -37449,7 +37454,7 @@
 
 
 
-  <h6 id=pixel-manipulation><span class=secno>4.8.11.1.11 </span><dfn>Pixel manipulation</dfn></h6>
+  <h6 id=pixel-manipulation><span class=secno>4.8.11.1.12 </span><dfn>Pixel manipulation</dfn></h6>
 
   <dl class=domintro><dt><var title="">imagedata</var> = <var title="">context</var> . <code title=dom-context-2d-createImageData><a href=#dom-context-2d-createimagedata>createImageData</a></code>(<var title="">sw</var>, <var title="">sh</var>)</dt>
 
@@ -37785,7 +37790,7 @@
 
   <div class=impl>
 
-  <h6 id=drawing-model><span class=secno>4.8.11.1.12 </span><dfn>Drawing model</dfn></h6>
+  <h6 id=drawing-model><span class=secno>4.8.11.1.13 </span><dfn>Drawing model</dfn></h6>
 
   <p>When a shape or image is painted, user agents must follow these
   steps, in the order given (or act as if they do):</p>
@@ -37816,7 +37821,7 @@
   </ol></div>
 
 
-  <h6 id=best-practices><span class=secno>4.8.11.1.13 </span>Best practices</h6>
+  <h6 id=best-practices><span class=secno>4.8.11.1.14 </span>Best practices</h6>
 
   <p><i>This section is non-normative.</i></p>
 
@@ -37878,7 +37883,7 @@
   attribute.</p>
 
 
-  <h6 id=examples><span class=secno>4.8.11.1.14 </span>Examples</h6>
+  <h6 id=examples><span class=secno>4.8.11.1.15 </span>Examples</h6>
 
   <p><i>This section is non-normative.</i></p>
 

Modified: source
===================================================================
--- source	2012-03-06 23:28:32 UTC (rev 7017)
+++ source	2012-03-06 23:29:49 UTC (rev 7018)
@@ -40586,7 +40586,7 @@
   void <span title="dom-context-2d-fillRect">fillRect</span>(double x, double y, double w, double h);
   void <span title="dom-context-2d-strokeRect">strokeRect</span>(double x, double y, double w, double h);
 
-  // default path API (see also <span>CanvasPathMethods</span>)
+  // current default path API (see also <span>CanvasPathMethods</span>)
   void <span title="dom-context-2d-beginPath">beginPath</span>();
   void <span title="dom-context-2d-fill">fill</span>();
   void <span title="dom-context-2d-stroke">stroke</span>();
@@ -42424,8 +42424,10 @@
 
   </div>
 
-  <hr> <!-- XXX make this a new section -->
 
+
+  <h6>The current default path</h6>
+
   <p>The context always has a current default path. There is only one
   current default path, it is not part of the <span>drawing
   state</span>. The current default path is a <span>path</span>, as




More information about the Commit-Watchers mailing list