[html5] r7286 - [e] (0) Forgot to finish polishing the isPointInPath() update. Fixing https://ww [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 27 15:20:20 PDT 2012


Author: ianh
Date: 2012-08-27 15:20:19 -0700 (Mon, 27 Aug 2012)
New Revision: 7286

Modified:
   complete.html
   index
   source
Log:
[e] (0) Forgot to finish polishing the isPointInPath() update.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18354
Affected topics: Canvas

Modified: complete.html
===================================================================
--- complete.html	2012-08-27 21:50:57 UTC (rev 7285)
+++ complete.html	2012-08-27 22:20:19 UTC (rev 7286)
@@ -39714,7 +39714,7 @@
 
    <dd>
 
-    <p>Returns true if the given point is in the <a href=#current-default-path>current default path</a>.</p>
+    <p>Returns true if the given point is in the <a href=#current-default-path>current default path</a> or the given path.</p>
 
    </dd>
 
@@ -39909,14 +39909,14 @@
   of the coordinate space. The new clipping region replaces the
   current clipping region.</p>
 
-  <hr><p>The <dfn id=dom-context-2d-ispointinpath title=dom-context-2d-isPointInPath><code>isPointInPath(<var title="">x</var>, <var title="">y</var>)</code></dfn> method must
-  return true if the point given by the <var title="">x</var> and <var title="">y</var> coordinates passed to the method, when treated as
-  coordinates in the canvas coordinate space unaffected by the current
-  transformation, is inside the intended path as determined by the
-  non-zero winding number rule; and must return false otherwise.
-  Points on the path itself must be considered to be inside the path.
-  If either of the arguments is infinite or NaN, then the method must
-  return false.</p>
+  <hr><p>The <dfn id=dom-context-2d-ispointinpath title=dom-context-2d-isPointInPath><code>isPointInPath()</code></dfn>
+  method must return true if the point given by the <var title="">x</var> and <var title="">y</var> coordinates passed to the
+  method, when treated as coordinates in the canvas coordinate space
+  unaffected by the current transformation, is inside the intended
+  path as determined by the non-zero winding number rule; and must
+  return false otherwise. Points on the path itself must be considered
+  to be inside the path. If either of the arguments is infinite or
+  NaN, then the method must return false.</p>
 
   </div>
 

Modified: index
===================================================================
--- index	2012-08-27 21:50:57 UTC (rev 7285)
+++ index	2012-08-27 22:20:19 UTC (rev 7286)
@@ -39714,7 +39714,7 @@
 
    <dd>
 
-    <p>Returns true if the given point is in the <a href=#current-default-path>current default path</a>.</p>
+    <p>Returns true if the given point is in the <a href=#current-default-path>current default path</a> or the given path.</p>
 
    </dd>
 
@@ -39909,14 +39909,14 @@
   of the coordinate space. The new clipping region replaces the
   current clipping region.</p>
 
-  <hr><p>The <dfn id=dom-context-2d-ispointinpath title=dom-context-2d-isPointInPath><code>isPointInPath(<var title="">x</var>, <var title="">y</var>)</code></dfn> method must
-  return true if the point given by the <var title="">x</var> and <var title="">y</var> coordinates passed to the method, when treated as
-  coordinates in the canvas coordinate space unaffected by the current
-  transformation, is inside the intended path as determined by the
-  non-zero winding number rule; and must return false otherwise.
-  Points on the path itself must be considered to be inside the path.
-  If either of the arguments is infinite or NaN, then the method must
-  return false.</p>
+  <hr><p>The <dfn id=dom-context-2d-ispointinpath title=dom-context-2d-isPointInPath><code>isPointInPath()</code></dfn>
+  method must return true if the point given by the <var title="">x</var> and <var title="">y</var> coordinates passed to the
+  method, when treated as coordinates in the canvas coordinate space
+  unaffected by the current transformation, is inside the intended
+  path as determined by the non-zero winding number rule; and must
+  return false otherwise. Points on the path itself must be considered
+  to be inside the path. If either of the arguments is infinite or
+  NaN, then the method must return false.</p>
 
   </div>
 

Modified: source
===================================================================
--- source	2012-08-27 21:50:57 UTC (rev 7285)
+++ source	2012-08-27 22:20:19 UTC (rev 7286)
@@ -46289,7 +46289,7 @@
 
    <dd>
 
-    <p>Returns true if the given point is in the <span>current default path</span>.</p>
+    <p>Returns true if the given point is in the <span>current default path</span> or the given path.</p>
 
    </dd>
 
@@ -46526,16 +46526,15 @@
   <hr>
 
   <p>The <dfn
-  title="dom-context-2d-isPointInPath"><code>isPointInPath(<var
-  title="">x</var>, <var title="">y</var>)</code></dfn> method must
-  return true if the point given by the <var title="">x</var> and <var
-  title="">y</var> coordinates passed to the method, when treated as
-  coordinates in the canvas coordinate space unaffected by the current
-  transformation, is inside the intended path as determined by the
-  non-zero winding number rule; and must return false otherwise.
-  Points on the path itself must be considered to be inside the path.
-  If either of the arguments is infinite or NaN, then the method must
-  return false.</p>
+  title="dom-context-2d-isPointInPath"><code>isPointInPath()</code></dfn>
+  method must return true if the point given by the <var
+  title="">x</var> and <var title="">y</var> coordinates passed to the
+  method, when treated as coordinates in the canvas coordinate space
+  unaffected by the current transformation, is inside the intended
+  path as determined by the non-zero winding number rule; and must
+  return false otherwise. Points on the path itself must be considered
+  to be inside the path. If either of the arguments is infinite or
+  NaN, then the method must return false.</p>
 
   </div>
 




More information about the Commit-Watchers mailing list