W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2013

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

From: Glenn Maynard <glenn@zewt.org>
Date: Fri, 9 Aug 2013 16:24:25 -0500
Message-ID: <CABirCh-CN1emPwfw2h6ONmb_4EYytHEiWx+DskbfWNjN6YmxGQ@mail.gmail.com>
To: Stephen White <senorblanco@chromium.org>
Cc: WHAT Working Group <whatwg@whatwg.org>, Rik Cabanier <cabanier@gmail.com>
On Fri, Aug 9, 2013 at 4:17 PM, Stephen White <senorblanco@chromium.org>wrote:

> If the stroke was instead drawn centered over half pixels, the stroked
>
rects would be centered along (5.5, 5.5) -> (14.5, 5.5) -> (14.5, 14.5) ->
> (14.5, 5.5) -> (5.5, 5.5). This would touch pixels 5->15 in each dimension.
> If drawn with transparency, the resulting left and top edges would look
> different than the bottom and right edges.  E.g.,
> http://jsfiddle.net/9xbkX/


My proposal addresses this, by adding an "outer" stroke mode.
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2013-July/040252.html

-- 
Glenn Maynard
Received on Friday, 9 August 2013 21:24:50 UTC

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