W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] Canvas Proposal: aliasClipping property

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sat, 17 Oct 2009 21:06:54 +1300
Message-ID: <11e306600910170106g4a8af14ave83f5572c278a2db@mail.gmail.com>
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?

Rob
-- 
"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
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091017/0fa98b94/attachment.htm>
Received on Saturday, 17 October 2009 01:06:54 UTC

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