Bresenham's algorithm, http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm TODO: handle int overflow etc.
(x0, y0, x1, y1 int, brush Putpixel)
source not stored for this graph (policy: none)