[Sugar-devel] [Karma] experimenting w/ canvas, drawImage draws a distorted pic

Bryan Berry bryan at olenepal.org
Mon Aug 31 04:42:35 EDT 2009


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
> 
> 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/ folder at the root level. I know that
> clutters the root directory. perhaps there is a better place to put it
> 
> 
-- 
Bryan W. Berry
Technology Director
OLE Nepal, http://www.olenepal.org



More information about the Sugar-devel mailing list