[html5] r1209 - /

whatwg at whatwg.org whatwg at whatwg.org
Sun Feb 10 01:14:03 PST 2008


Author: ianh
Date: 2008-02-10 01:13:58 -0800 (Sun, 10 Feb 2008)
New Revision: 1209

Modified:
   index
   source
Log:
[e] (0) define stroke() in more detail

Modified: index
===================================================================
--- index	2008-02-10 09:09:35 UTC (rev 1208)
+++ index	2008-02-10 09:13:58 UTC (rev 1209)
@@ -17349,16 +17349,16 @@
    have the same winding, that area just gets painted once.
 
   <p>The <dfn id=stroke
-   title=dom-context-2d-stroke><code>stroke()</code></dfn> method must stroke
-   all the subpaths of the current path, using the <code
-   title=dom-context-2d-strokeStyle><a
-   href="#strokestyle">strokeStyle</a></code>, <code
-   title=dom-context-2d-lineWidth><a href="#linewidth">lineWidth</a></code>,
-   <code title=dom-context-2d-lineCap><a href="#linecap">lineCap</a></code>,
-   <code title=dom-context-2d-lineJoin><a
-   href="#linejoin">lineJoin</a></code>, and (if appropriate) <code
-   title=dom-context-2d-miterLimit><a
-   href="#miterlimit">miterLimit</a></code> attributes.
+   title=dom-context-2d-stroke><code>stroke()</code></dfn> method must
+   calculate the strokes of all the subpaths of the current path, using the
+   <code title=dom-context-2d-lineWidth><a
+   href="#linewidth">lineWidth</a></code>, <code
+   title=dom-context-2d-lineCap><a href="#linecap">lineCap</a></code>, <code
+   title=dom-context-2d-lineJoin><a href="#linejoin">lineJoin</a></code>, and
+   (if appropriate) <code title=dom-context-2d-miterLimit><a
+   href="#miterlimit">miterLimit</a></code> attributes, and then fill the
+   combined stroke area using the <code title=dom-context-2d-strokeStyle><a
+   href="#strokestyle">strokeStyle</a></code>, attribute.
 
   <p class=note>Since the subpaths are all stroked as one, overlapping parts
    of the paths in one stroke operation are treated as if their union was

Modified: source
===================================================================
--- source	2008-02-10 09:09:35 UTC (rev 1208)
+++ source	2008-02-10 09:13:58 UTC (rev 1209)
@@ -14937,13 +14937,15 @@
 
   <p>The <dfn
   title="dom-context-2d-stroke"><code>stroke()</code></dfn> method
-  must stroke all the subpaths of the current path, using the
-  <code title="dom-context-2d-strokeStyle">strokeStyle</code>, <code
-  title="dom-context-2d-lineWidth">lineWidth</code>, <code
-  title="dom-context-2d-lineCap">lineCap</code>, <code
+  must calculate the strokes of all the subpaths of the current path,
+  using the <code title="dom-context-2d-lineWidth">lineWidth</code>,
+  <code title="dom-context-2d-lineCap">lineCap</code>, <code
   title="dom-context-2d-lineJoin">lineJoin</code>, and (if
   appropriate) <code
-  title="dom-context-2d-miterLimit">miterLimit</code> attributes.</p>
+  title="dom-context-2d-miterLimit">miterLimit</code> attributes, and
+  then fill the combined stroke area using the <code
+  title="dom-context-2d-strokeStyle">strokeStyle</code>,
+  attribute.</p>
 
   <p class="note">Since the subpaths are all stroked as one,
   overlapping parts of the paths in one stroke operation are treated




More information about the Commit-Watchers mailing list