[whatwg] Canvas v5 API additions
Jeremy Apthorp
jeremya at chromium.org
Wed Mar 28 16:27:03 PDT 2012
On Thu, Mar 29, 2012 at 10:25 AM, Jeremy Apthorp <jeremya at chromium.org>wrote:
> On Thu, Mar 29, 2012 at 8:41 AM, Ian Hickson <ian at hixie.ch> wrote:
>
>> On Fri, 13 Jan 2012, Jeremy Apthorp wrote:
>> >
>> > I'd like to draw non-antialiased lines in a <canvas>. Currently it seems
>> > that the only way to do this is to directly access the pixel data.
>> >
>> > Is there a reason there's no way to turn off antialiasing?
>>
>> What's the use case?
>>
>
> Pixel-art style games.
>
Specifically: even with the new image smoothing stuff in place for
drawImage, a 1:2 diagonal line will still be anti-aliased (only the
antialiasing will look silly scaled up to 2x).
More information about the whatwg
mailing list