I was playing around with HTML's Canvas element and I spent a whole day trying to figure out why I can't draw a 1-pixel wide straight line (parallel to the axes). If you try dawing a black (#000000) straight line parallel to the axes, then for all odd numbered widths :Vanakkam !
- the first line is of colour #9d9d9d and the last one is of #8d8d8d
- The width of the line is one pixel more
|Saturday, May 23, 2009