On Fri, 23 Nov 2012, Rik Cabanier wrote: > On Fri, Nov 23, 2012 at 4:03 PM, Ian Hickson <i...@hixie.ch> wrote: > > 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. > > No. You don't want to see a black shadow with blurred edges. For an > 'inner' shadow, the shadow image sits outside the shape so you have to > calculate that.
I don't follow. Why would you see a black shadow? Do you have an example of what you mean? -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'