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

Re: [whatwg] Enabling LCD Text and antialiasing in canvas

From: Rik Cabanier <cabanier@gmail.com>
Date: Thu, 14 Feb 2013 14:18:33 +1100
Message-ID: <CAGN7qDADm6JjQ56SEGVOjfD=Z4W_gpf7tgb4yNBq_av-f_gQKA@mail.gmail.com>
To: robert@ocallahan.org
Cc: whatwg@whatwg.org, Ian Hickson <ian@hixie.ch>, Stephen White <senorblanco@chromium.org>
On Thu, Feb 14, 2013 at 2:12 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> On Thu, Feb 14, 2013 at 3:55 PM, Rik Cabanier <cabanier@gmail.com> wrote:
>
>> What would happen if you set 'opaque' to true and you draw with alpha and
>> 'copy' compositing? It seems that that has the same issue (unless you're
>> OK
>> with breaking drawing).
>>
>
> The alpha values of all moz-opaque canvas pixels are simply not affected
> by compositing.
>

Exactly! So, this will break drawing as the pixels with no alpha will be
black with no way to undo that.
Received on Thursday, 14 February 2013 03:19:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:19 UTC