[Bug 18117] Shouldn't there be a setClip() rather than a resetClip(). There is already a transform() and setTransform(). Shouldn't clip follow the same conventions?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18117

Jay Munro <jaymunro@microsoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jaymunro@microsoft.com

--- Comment #2 from Jay Munro <jaymunro@microsoft.com> 2012-08-20 16:31:20 UTC ---
In the whatwg spec, setTransform() resets the matrix to identity, and then
applies another transform. resetTransform just clears the matrix to the
identity matrix. 

It appears that resetClip is more like resetTransform, and is just setting the
clipping area back to the initial full coordinate space. 



================================================================================
>  #0   contributor@whatwg.org                          
2012-04-11 22:29:47 /c#dom-context-2d-resetclip
> Comment:
> Shouldn't there be a setClip() rather than a resetClip().  There is already a
> transform() and setTransform().  Shouldn't clip follow the same conventions?
>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 20 August 2012 16:31:22 UTC