[html5] r8219 - [e] (0) Try to clarify the stroking rules better Affected topics: Canvas

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 9 21:53:49 PDT 2013


Author: ianh
Date: 2013-10-09 21:53:47 -0700 (Wed, 09 Oct 2013)
New Revision: 8219

Modified:
   complete.html
   index
   source
Log:
[e] (0) Try to clarify the stroking rules better
Affected topics: Canvas

Modified: complete.html
===================================================================
--- complete.html	2013-10-09 22:35:00 UTC (rev 8218)
+++ complete.html	2013-10-10 04:53:47 UTC (rev 8219)
@@ -256,7 +256,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 9 October 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 10 October 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -34550,10 +34550,12 @@
 
    <li>
 
-    <p>Create a new <a href=#concept-path title=concept-path>path</a> that describes the result of
-    inflating the paths in <var title="">path</var> perpendicular to
-    the direction of the path to the <var title="">styles</var> <code title=dom-context-2d-lineWidth><a href=#dom-context-2d-linewidth>lineWidth</a></code> width, replacing
-    each point with the end cap necessary to satisfy the <var title="">styles</var> <code title=dom-context-2d-lineCap><a href=#dom-context-2d-linecap>lineCap</a></code> attribute as
+    <p>Create a new <a href=#concept-path title=concept-path>path</a> that
+    describes the edge of the areas that would be covered if a straight line of length equal to the
+    <var title="">styles</var> <code title=dom-context-2d-lineWidth><a href=#dom-context-2d-linewidth>lineWidth</a></code> was swept
+    along each path in <var title="">path</var> while being kept at an angle such that the line is
+    orthogonal to the path being swept, replacing each point with the end cap necessary to satisfy
+    the <var title="">styles</var> <code title=dom-context-2d-lineCap><a href=#dom-context-2d-linecap>lineCap</a></code> attribute as
     described previously and elaborated below, and replacing each join
     with the join necessary to satisfy the <var title="">styles</var>
     <code title=dom-context-2d-lineJoin><a href=#dom-context-2d-linejoin>lineJoin</a></code> type, as

Modified: index
===================================================================
--- index	2013-10-09 22:35:00 UTC (rev 8218)
+++ index	2013-10-10 04:53:47 UTC (rev 8219)
@@ -256,7 +256,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 9 October 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 10 October 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -34550,10 +34550,12 @@
 
    <li>
 
-    <p>Create a new <a href=#concept-path title=concept-path>path</a> that describes the result of
-    inflating the paths in <var title="">path</var> perpendicular to
-    the direction of the path to the <var title="">styles</var> <code title=dom-context-2d-lineWidth><a href=#dom-context-2d-linewidth>lineWidth</a></code> width, replacing
-    each point with the end cap necessary to satisfy the <var title="">styles</var> <code title=dom-context-2d-lineCap><a href=#dom-context-2d-linecap>lineCap</a></code> attribute as
+    <p>Create a new <a href=#concept-path title=concept-path>path</a> that
+    describes the edge of the areas that would be covered if a straight line of length equal to the
+    <var title="">styles</var> <code title=dom-context-2d-lineWidth><a href=#dom-context-2d-linewidth>lineWidth</a></code> was swept
+    along each path in <var title="">path</var> while being kept at an angle such that the line is
+    orthogonal to the path being swept, replacing each point with the end cap necessary to satisfy
+    the <var title="">styles</var> <code title=dom-context-2d-lineCap><a href=#dom-context-2d-linecap>lineCap</a></code> attribute as
     described previously and elaborated below, and replacing each join
     with the join necessary to satisfy the <var title="">styles</var>
     <code title=dom-context-2d-lineJoin><a href=#dom-context-2d-linejoin>lineJoin</a></code> type, as

Modified: source
===================================================================
--- source	2013-10-09 22:35:00 UTC (rev 8218)
+++ source	2013-10-10 04:53:47 UTC (rev 8219)
@@ -37405,13 +37405,12 @@
 
    <li>
 
-    <p>Create a new <span title="concept-path">path</span> that describes the result of
-    inflating the paths in <var title="">path</var> perpendicular to
-    the direction of the path to the <var title="">styles</var> <code
-    title="dom-context-2d-lineWidth">lineWidth</code> width, replacing
-    each point with the end cap necessary to satisfy the <var
-    title="">styles</var> <code
-    title="dom-context-2d-lineCap">lineCap</code> attribute as
+    <p>Create a new <span title="concept-path">path</span> that
+    describes the edge of the areas that would be covered if a straight line of length equal to the
+    <var title="">styles</var> <code title="dom-context-2d-lineWidth">lineWidth</code> was swept
+    along each path in <var title="">path</var> while being kept at an angle such that the line is
+    orthogonal to the path being swept, replacing each point with the end cap necessary to satisfy
+    the <var title="">styles</var> <code title="dom-context-2d-lineCap">lineCap</code> attribute as
     described previously and elaborated below, and replacing each join
     with the join necessary to satisfy the <var title="">styles</var>
     <code title="dom-context-2d-lineJoin">lineJoin</code> type, as




More information about the Commit-Watchers mailing list