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

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 12 Mar 2013 07:56:06 +1300
Message-ID: <CAOp6jLa3AdWKDU1kKpDiAhmUYscOYOU6LuSv=PdOQXt6pYJehg@mail.gmail.com>
To: Stephen White <senorblanco@chromium.org>
Cc: WHAT Working Group <whatwg@whatwg.org>, Ian Hickson <ian@hixie.ch>, Rik Cabanier <cabanier@gmail.com>
On Tue, Mar 12, 2013 at 7:53 AM, Stephen White <senorblanco@chromium.org>wrote:

> All other canvas functionality behaves as normal, including operations
> which modify the alpha values of the backing store.  However, any such
> transparency values will be ignored when compositing the canvas into the
> page, and the canvas will be treated as if every pixel has an alpha of 1.0.
>

That would mean getImageData can return non-1.0 alpha values, which is
probably not what you want to implement.

Rob
-- 
Wrfhf pnyyrq gurz gbtrgure naq fnvq, “Lbh xabj gung gur ehyref bs gur
Tragvyrf ybeq vg bire gurz, naq gurve uvtu bssvpvnyf rkrepvfr nhgubevgl
bire gurz. Abg fb jvgu lbh. Vafgrnq, jubrire jnagf gb orpbzr terng nzbat
lbh zhfg or lbhe freinag, naq jubrire jnagf gb or svefg zhfg or lbhe fynir
— whfg nf gur Fba bs Zna qvq abg pbzr gb or freirq, ohg gb freir, naq gb
tvir uvf yvsr nf n enafbz sbe znal.” [Znggurj 20:25-28]
Received on Monday, 11 March 2013 18:56:31 GMT

This archive was generated by hypermail 2.3.1 : Monday, 11 March 2013 18:56:32 GMT