[whatwg] Canvas Proposal: aliasClipping property

Robert O'Callahan robert at ocallahan.org
Sat Oct 17 01:06:54 PDT 2009

On Sat, Oct 17, 2009 at 5:37 PM, Oliver Hunt <oliver at apple.com> wrote:

> On Oct 16, 2009, at 8:10 PM, Robert O'Callahan wrote:
> I think there is a reasonable argument that the spec should be changed so
> that compositing happens only within the shape. (In cairo terminology, all
> operators should be bounded.) Perhaps that's what Safari and Chrome
> developers want.
> This is the behaviour of the original canvas implementation (and it makes a
> degree of sense -- it is possible to fake composition implying an infinite
> 0-alpha surrounding when the default composite operator does not do this,
> but vice versa is not possible).

Can't you just clip to the shape?

That said I suspect we are unable to do anything this anymore :-/

If Safari and Chrome currently do bound composition to the shape, and always
have, then surely it's not too late to spec that?

"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091017/0fa98b94/attachment-0002.htm>

More information about the whatwg mailing list