[whatwg] remove resetClip from the Canvas 2D spec

Rik Cabanier cabanier at gmail.com
Mon Aug 12 11:15:54 PDT 2013


On Fri, Aug 9, 2013 at 1:40 PM, Justin Novosad <junov at google.com> wrote:

> On Fri, Aug 9, 2013 at 4:20 PM, Ian Hickson <ian at hixie.ch> wrote:
>
> >
> > This is a quite widely requested feature. What should we do to address
> > this request instead?
> >
> >
> What if resetClip restored the clip to what it was at the save call that
> created the current state stack level?
> In other words, restore the clip, but without popping it off the
> save/restore stack.
>

It would be good to hear specific use cases for 'resetClip' so we can make
that call.
I think your proposal could be made to work with Core Graphics.


> Also, resetMatrix could be defined to do the same.


Is that API defined somewhere?



More information about the whatwg mailing list