Skip to content

Commit

Permalink
[] (0) Define isPointInPath() uses the non-zero winding number rule. …
Browse files Browse the repository at this point in the history
…(credit: pt)

git-svn-id: http://svn.whatwg.org/webapps@2005 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 5, 2008
1 parent 6127e34 commit 251e40f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions index
Expand Up @@ -22158,10 +22158,10 @@ notes on what would need to be defined for dashed lines:
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 -->
Expand Down
3 changes: 2 additions & 1 deletion source
Expand Up @@ -19392,7 +19392,8 @@ notes on what would need to be defined for dashed lines:
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>
Expand Down

0 comments on commit 251e40f

Please sign in to comment.