[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] How to set a canvas backing store to display units?

On Tue, Jun 12, 2012 at 4:23 PM, Florian Bösch <pyalot@gmail.com> wrote:
On Wed, Jun 13, 2012 at 1:12 AM, Gregg Tavares (社用) <gman@google.com> wrote:
So now that there are a few hd-dpi devices any thoughts has to how to set a canvas's backing store to 1x1 to display pixels?
I understand the question, and it is really rather perplexing. So there was a time when "pixels" meant "pixels!", but somehow apple got away with declaring a pixel "virtual". I don't like it, not, one, bit. 

CSS pixels != device pixels.  It's sort of how CSS inches mean a fixed number of CSS pixels and have nothing really to do with http://en.wikipedia.org/wiki/Inch.


- James