[html5] r8314 - [e] (0) Tidy the 'trace a path' algorithm Affected topics: Canvas

whatwg at whatwg.org whatwg at whatwg.org
Mon Nov 25 15:52:17 PST 2013


Author: ianh
Date: 2013-11-25 15:52:14 -0800 (Mon, 25 Nov 2013)
New Revision: 8314

Modified:
   complete.html
   index
   source
Log:
[e] (0) Tidy the 'trace a path' algorithm
Affected topics: Canvas

Modified: complete.html
===================================================================
--- complete.html	2013-11-25 18:38:37 UTC (rev 8313)
+++ complete.html	2013-11-25 23:52:14 UTC (rev 8314)
@@ -54240,15 +54240,16 @@
   
       <p>While <var title="">offset</var> is greater than <var title="">pattern width</var>,
       decrement it by <var title="">pattern width</var>.</p>
-  
-      <p>While <var title="">offset</var> is less than <var title="">pattern width</var>, increment
+
+<!--CLEANUP-->
+      <p>While <var title="">offset</var> is less than zero, increment
       it by <var title="">pattern width</var>.</p>
 
      </li>
 
      <li><p>Define <var title="">L</var> to be a linear coordinate line defined along all lines in
      <var title="">subpath</var>, such that the start of the first line in the subpath is defined as
-     coordinate 0, and the end of the last line in the subpath is defined as coordinate <var title="">width</var>.</li>
+     coordinate 0, and the end of the last line in the subpath is defined as coordinate <var title="">subpath width</var>.</li>
 
      <li><p>Let <var title="">position</var> be zero minus <var title="">offset</var>.</li>
 
@@ -54330,7 +54331,7 @@
 
       </dl></li>
 
-     <li><p><i>Post-cut</i>: If <var title="">position</var> is greater than <var title="">width</var>, then jump to the step labeled <i>convert</i>.</li>
+     <li><p><i>Post-cut</i>: If <var title="">position</var> is greater than <var title="">subpath width</var>, then jump to the step labeled <i>convert</i>.</li>
 
      <li><p>If <var title="">segment length</var> is greater than zero, let <var title="">positioned-at-on-dash</var> be false.</li>
 

Modified: index
===================================================================
--- index	2013-11-25 18:38:37 UTC (rev 8313)
+++ index	2013-11-25 23:52:14 UTC (rev 8314)
@@ -54240,15 +54240,16 @@
   
       <p>While <var title="">offset</var> is greater than <var title="">pattern width</var>,
       decrement it by <var title="">pattern width</var>.</p>
-  
-      <p>While <var title="">offset</var> is less than <var title="">pattern width</var>, increment
+
+<!--CLEANUP-->
+      <p>While <var title="">offset</var> is less than zero, increment
       it by <var title="">pattern width</var>.</p>
 
      </li>
 
      <li><p>Define <var title="">L</var> to be a linear coordinate line defined along all lines in
      <var title="">subpath</var>, such that the start of the first line in the subpath is defined as
-     coordinate 0, and the end of the last line in the subpath is defined as coordinate <var title="">width</var>.</li>
+     coordinate 0, and the end of the last line in the subpath is defined as coordinate <var title="">subpath width</var>.</li>
 
      <li><p>Let <var title="">position</var> be zero minus <var title="">offset</var>.</li>
 
@@ -54330,7 +54331,7 @@
 
       </dl></li>
 
-     <li><p><i>Post-cut</i>: If <var title="">position</var> is greater than <var title="">width</var>, then jump to the step labeled <i>convert</i>.</li>
+     <li><p><i>Post-cut</i>: If <var title="">position</var> is greater than <var title="">subpath width</var>, then jump to the step labeled <i>convert</i>.</li>
 
      <li><p>If <var title="">segment length</var> is greater than zero, let <var title="">positioned-at-on-dash</var> be false.</li>
 

Modified: source
===================================================================
--- source	2013-11-25 18:38:37 UTC (rev 8313)
+++ source	2013-11-25 23:52:14 UTC (rev 8314)
@@ -60051,8 +60051,9 @@
   
       <p>While <var data-x="">offset</var> is greater than <var data-x="">pattern width</var>,
       decrement it by <var data-x="">pattern width</var>.</p>
-  
-      <p>While <var data-x="">offset</var> is less than <var data-x="">pattern width</var>, increment
+
+<!--CLEANUP-->
+      <p>While <var data-x="">offset</var> is less than zero, increment
       it by <var data-x="">pattern width</var>.</p>
 
      </li>
@@ -60060,7 +60061,7 @@
      <li><p>Define <var data-x="">L</var> to be a linear coordinate line defined along all lines in
      <var data-x="">subpath</var>, such that the start of the first line in the subpath is defined as
      coordinate 0, and the end of the last line in the subpath is defined as coordinate <var
-     data-x="">width</var>.</p></li>
+     data-x="">subpath width</var>.</p></li>
 
      <li><p>Let <var data-x="">position</var> be zero minus <var data-x="">offset</var>.</p></li>
 
@@ -60159,7 +60160,7 @@
      </li>
 
      <li><p><i>Post-cut</i>: If <var data-x="">position</var> is greater than <var
-     data-x="">width</var>, then jump to the step labeled <i>convert</i>.</p></li>
+     data-x="">subpath width</var>, then jump to the step labeled <i>convert</i>.</p></li>
 
      <li><p>If <var data-x="">segment length</var> is greater than zero, let <var
      data-x="">positioned-at-on-dash</var> be false.</p></li>




More information about the Commit-Watchers mailing list