canvas id=myCanvas width=200 height=200/canvas
style
#mycanvas {
width: 200;
height: 200;
}
/style
yep, right
from http://dev.w3.org/html5/spec/Overview.html#the-canvas-element
The intrinsic dimensions of the
subzero,
http://karma.sugarlabs.org/mainline/experiments/mytest1.html
http://git.sugarlabs.org/projects/karma/repos/mainline/blobs/master/experiments/mytest1.html
for whatever reason context.drawImage draws the ball image at 2x the
specified height. Any idea why?
i have added the experiments/
apparently, everything gets screwed up when i put the height and width
in css but works fine when i put the same values in the canvas tag
On Mon, 2009-08-31 at 13:47 +0545, Bryan Berry wrote:
subzero,
http://karma.sugarlabs.org/mainline/experiments/mytest1.html
On Mon, Aug 31, 2009 at 11:42 AM, Lucian
Branesculucian.brane...@gmail.com wrote:
I think canvas pixels are different from css pixels. In canvas you get
the pixels of the internal rendering engine and with css you get the
device-modified pixels.
Our pixels are rather special. If you are using
4 matches
Mail list logo