W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] [canvas] inner shadows

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 24 Nov 2012 00:03:25 +0000 (UTC)
To: Rik Cabanier <cabanier@gmail.com>, Glenn Maynard <glenn@zewt.org>, Dirk Schulze <dschulze@adobe.com>
Message-ID: <Pine.LNX.4.64.1211232358100.29456@ps20323.dreamhostps.com>
Cc: Tyler Larson <talltyler@gmail.com>, "whatwg@whatwg.org" <whatwg@whatwg.org>
On Fri, 23 Nov 2012, Rik Cabanier wrote:
> It would still be quite complex to draw an inner shadow this way because
> the blur is calculated on the inverse of the shape.
> A user will need to draw to another canvas and then 'clear' it to get the
> inverse.

Turns out it's much easier than that; see my e-mail just now.

> > Is this something implementors would be interested in?
> It seems like this would be easy for them to implement...

That's not really the question. :-)

There's a cost to every feature. We have to prioritise.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 24 November 2012 01:29:51 UTC

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