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

[whatwg] Bresenham lines and circles in <canvas>

From: Jeremy Apthorp <jeremya@chromium.org>
Date: Fri, 13 Jan 2012 17:56:13 -0800
Message-ID: <CACd8HaB-TkHSu+N0xp7i6u14rsQi_1cFUqBUgzAbx9QUmpFs4w@mail.gmail.com>
Hi whatwg,

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?

Possible API:
context.antialias = false
Received on Friday, 13 January 2012 17:56:13 UTC

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