W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2013

Re: [whatwg] remove resetClip from the Canvas 2D spec

From: Rik Cabanier <cabanier@gmail.com>
Date: Mon, 12 Aug 2013 11:15:54 -0700
Message-ID: <CAGN7qDBiQOdTSYfj7T0ek--UW+aQU1q=fV=imQZv_E2s1Nc38w@mail.gmail.com>
To: Justin Novosad <junov@google.com>
Cc: WHATWG List <whatwg@whatwg.org>, Stephen White <senorblanco@chromium.org>, Ian Hickson <ian@hixie.ch>
On Fri, Aug 9, 2013 at 1:40 PM, Justin Novosad <junov@google.com> wrote:

> On Fri, Aug 9, 2013 at 4:20 PM, Ian Hickson <ian@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?
Received on Monday, 12 August 2013 18:16:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:23 UTC