[html5] r2005 - [] (0) Define isPointInPath() uses the non-zero winding number rule. (credit: pt)
whatwg at whatwg.org
whatwg at whatwg.org
Tue Aug 5 03:25:00 PDT 2008
Author: ianh
Date: 2008-08-05 03:25:00 -0700 (Tue, 05 Aug 2008)
New Revision: 2005
Modified:
index
source
Log:
[] (0) Define isPointInPath() uses the non-zero winding number rule. (credit: pt)
Modified: index
===================================================================
--- index 2008-08-05 09:57:06 UTC (rev 2004)
+++ index 2008-08-05 10:25:00 UTC (rev 2005)
@@ -22158,10 +22158,10 @@
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 current path; and must return false
- otherwise. Points on the path itself are considered to be inside the path.
- If either of the arguments is infinite or NaN, then the method must return
- false.
+ transformation, is inside the current path as determined by the non-zero
+ winding number rule; and must return false otherwise. Points on the path
+ itself are considered to be inside the path. If either of the arguments is
+ infinite or NaN, then the method must return false.
<h6 id=text><span class=secno>4.7.11.1.9. </span>Text</h6>
<!-- a v3 feature -->
Modified: source
===================================================================
--- source 2008-08-05 09:57:06 UTC (rev 2004)
+++ source 2008-08-05 10:25:00 UTC (rev 2005)
@@ -19392,7 +19392,8 @@
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 current path; and must return false
+ transformation, is inside the current path as determined by the
+ non-zero winding number rule; and must return false
otherwise. Points on the path itself are considered to be inside the
path. If either of the arguments is infinite or NaN, then the method
must return false.</p>
More information about the Commit-Watchers
mailing list