Re: [whatwg] Antialiasing of line widths 1 (was Re: Blurry lines in 2D Canvas (and SVG))

2013-08-13 Thread Stephen White
On Sat, Aug 10, 2013 at 11:07 PM, Rik Cabanier caban...@gmail.com wrote: On Sat, Aug 10, 2013 at 7:50 AM, Glenn Maynard gl...@zewt.org wrote: On Sat, Aug 10, 2013 at 7:42 AM, Stephen White senorbla...@chromium.orgwrote: Chrome (well, Skia actually) uses a hairline mode for line widths

[whatwg] Antialiasing of line widths 1 (was Re: Blurry lines in 2D Canvas (and SVG))

2013-08-10 Thread Stephen White
On Sat, Aug 10, 2013 at 1:07 AM, Glenn Maynard gl...@zewt.org wrote: On Fri, Aug 9, 2013 at 11:07 PM, Rik Cabanier caban...@gmail.com wrote: Chrome seems ignore stroke widths that are smaller than 1 (which is reasonable). (That seems wrong to me--it should continue to draw based on pixel

Re: [whatwg] Antialiasing of line widths 1 (was Re: Blurry lines in 2D Canvas (and SVG))

2013-08-10 Thread Glenn Maynard
On Sat, Aug 10, 2013 at 7:42 AM, Stephen White senorbla...@chromium.orgwrote: Chrome (well, Skia actually) uses a hairline mode for line widths 1. It draws a line of width 1, and uses the width to modulate the alpha. I think the idea is to prevent blotchiness/unevenness caused by

Re: [whatwg] Antialiasing of line widths 1 (was Re: Blurry lines in 2D Canvas (and SVG))

2013-08-10 Thread Rik Cabanier
On Sat, Aug 10, 2013 at 7:50 AM, Glenn Maynard gl...@zewt.org wrote: On Sat, Aug 10, 2013 at 7:42 AM, Stephen White senorbla...@chromium.orgwrote: Chrome (well, Skia actually) uses a hairline mode for line widths 1. It draws a line of width 1, and uses the width to modulate the alpha. I