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

Re: [whatwg] Blurry lines in 2D Canvas

From: Rik Cabanier <cabanier@gmail.com>
Date: Sat, 28 Sep 2013 20:43:49 -0700
Message-ID: <CAGN7qDA9roFayg71rFRjd1Bj9AtY=a1b1f-r6A0pTkxAmsmKoQ@mail.gmail.com>
To: Glenn Maynard <glenn@zewt.org>
Cc: whatwg <whatwg@lists.whatwg.org>, Ruben Rodriguez II <whatwg@therealcha0s.net>, "Jasper St. Pierre" <jstpierre@mecheye.net>
Yeah, this should be specified somewhere.
As you point out, luckily everyone is in agreement.


On Fri, Sep 27, 2013 at 7:41 PM, Glenn Maynard <glenn@zewt.org> wrote:

> On Fri, Sep 27, 2013 at 4:38 PM, Jasper St. Pierre <jstpierre@mecheye.net
> >wrote:
>
> > The issue here is that the canvas API does not specify how pixels are
> sited
> > on the canvas: if you imagine pixels as enlarged squares on a grid
> (shush,
> > I know), does an X coordinate of 5 name the center of the square, or the
> > intersection between 4th and 5th squares?
> >
>
> That's not the issue this thread is about.  I don't know if it's specified
> (though I suspect is is), but WebKit, Firefox and IE10's Canvas
> implementations all use OpenGL's coordinate system.  This can be seen in
> the very first post in the thread, which renders consistently in all three
> browsers.  http://jsfiddle.net/V92Gn/128/
>
> --
> Glenn Maynard
>
Received on Sunday, 29 September 2013 03:44:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:09 UTC