[whatwg] Canvas draw quality

Alfonso Baqueiro abaqueiro at gmail.com
Sat Oct 21 01:48:10 PDT 2006

I wrote this little page to try the canvas


Is interesting that the drawed vertical 1px width black lines appear
as 2px width gray lines (in firefox) I suposse that is a colateral
effect caused by the antialiasing, so this simple case makes evident
that we need a method turn on/off the antialiasing.

I suggest:

var canvas = document.getElementById('canvas');
var gc = canvas.getContext('2d');
// some drawing
// some drawing

More information about the whatwg mailing list