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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 29 Jan 2013 17:27:48 -0800
Message-ID: <CAAWBYDByzwx-ZOF9j1H1FvADAL3KQNea-oJvM__UDKVdNq25fA@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: WHATWG List <whatwg@whatwg.org>, "public-canvas-api@w3.org" <public-canvas-api@w3.org>
On Tue, Jan 29, 2013 at 5:00 PM, Rik Cabanier <cabanier@gmail.com> wrote:
> All,
> we were looking at how resetClip [1] could be implemented in WebKit.
> Looking over the Core Graphics implementation, this feature can't be
> implemented without significant overhead. I also found an email from 2007
> where Maciej states the same concern. [2]
> Since no browser has implemented it, can it be removed from the spec?
> Rik
> 1:
> http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-resetclip
> 2: http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/10582

It seems kinda bizarre that it's hard to reset, given that you can
remove it by saving and restoring context.

It seems bizarre that it would *ever* be hard to reset, to be honest.
That's just plain weird.  I mean, just what *does* CoreGraphics do
with restore()?

Received on Wednesday, 30 January 2013 01:28:35 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:52 UTC