Introduction - If you have any usage issues, please Google them yourself
Bresenham draw a straight line extended (all-quadrant all-slope), the use of real-time manner to determine the slope of the positive and negative slope, respectively, to deal with the idea of symmetry to the image. Very good, very concise code.