- From: Sam Ruby via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 01 Sep 2012 03:43:50 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/2dcontext In directory hutz:/tmp/cvs-serv23782 Modified Files: Overview.html Log Message: commit a0f8947b7e48d3752d2e18ca7e1751abfed73c6b Author: ianh <ianh@340c8d12-0b0e-0410-8428-c7bf67bfef74> Date: Mon Aug 27 22:20:19 2012 +0000 [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 Index: Overview.html =================================================================== RCS file: /sources/public/html5/2dcontext/Overview.html,v retrieving revision 1.141 retrieving revision 1.142 diff -u -d -r1.141 -r1.142 --- Overview.html 1 Sep 2012 03:14:46 -0000 1.141 +++ Overview.html 1 Sep 2012 03:43:48 -0000 1.142 @@ -3748,7 +3748,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> @@ -3943,14 +3943,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>
Received on Saturday, 1 September 2012 03:43:51 UTC