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

[whatwg] Canvas v5 API additions

From: Ashley Gullen <ashley@scirra.com>
Date: Thu, 29 Mar 2012 15:34:36 +0100
Message-ID: <CAABs73gAv7wY3zhW3TATBowkWwQDFvyFGN78UK8XvEPpEZPZKQ@mail.gmail.com>
Thanks.  Having looked at the changes, I think it might be more appropriate
to put this as a third global option, e.g. "globalAlpha",
"globalCompositeOperation" and "globalSmoothingEnabled" (default true,
because I think most implementations currently do smoothing).  I think the
option should definitely affect all rendering on the canvas (images,
patterns, lines, possibly text?) since applications like retro games need a
simple switch to affect everything, and the name "globalSmoothingEnabled"
should better imply it will affect everything.

Ashley


On 29 March 2012 05:41, Ian Hickson <ian at hixie.ch> wrote:

> On Thu, 29 Mar 2012, Ashley Gullen wrote:
> >
> > BTW:
> > - have you got a link to the spec including the smoothing property? can't
> > seem to find it
>
>
> http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-imagesmoothingenabled
>
> (I will be replying to your detailed feedback at some future point, but I
> wanted to make sure you had the link now in case you had any more
> feedback!)
>
> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
>
Received on Thursday, 29 March 2012 07:34:36 UTC

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