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 wrote: > > > On Sat, Aug 10, 2013 at 7:50 AM, Glenn Maynard wrote: > >> On Sat, Aug 10, 2013 at 7:42 AM, Stephen White >> wrote: >> >>> Chrome (well, Skia actually) uses a "hairline" mode for line widths < 1. >>> It draws a line of width 1, and use

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 wrote: > On Sat, Aug 10, 2013 at 7:42 AM, Stephen White > wrote: > >> 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 preven

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 wrote: > 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 undersampling > or missed cove

[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 wrote: > On Fri, Aug 9, 2013 at 11:07 PM, Rik Cabanier 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 >>> coverage