Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Forgot to finish polishing the isPointInPath() update.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18354
Affected topics: Canvas

git-svn-id: http://svn.whatwg.org/webapps@7286 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 27, 2012
1 parent d064d36 commit a517fdb
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 29 deletions.
18 changes: 9 additions & 9 deletions complete.html
Expand Up @@ -39714,7 +39714,7 @@ <h6 id=drawing-paths-to-the-canvas><span class=secno>4.8.11.1.12 </span>Drawing

<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>

Expand Down Expand Up @@ -39909,14 +39909,14 @@ <h6 id=drawing-paths-to-the-canvas><span class=secno>4.8.11.1.12 </span>Drawing
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>

Expand Down
18 changes: 9 additions & 9 deletions index
Expand Up @@ -39714,7 +39714,7 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex

<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>

Expand Down Expand Up @@ -39909,14 +39909,14 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
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>

Expand Down
21 changes: 10 additions & 11 deletions source
Expand Up @@ -46289,7 +46289,7 @@ v6DVT (also check for '- -' bits in the part above) -->

<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>

Expand Down Expand Up @@ -46526,16 +46526,15 @@ v6DVT (also check for '- -' bits in the part above) -->
<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>

Expand Down

0 comments on commit a517fdb

Please sign in to comment.