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.4.0 : Wednesday, 22 January 2020 16:59:39 UTC