Expand Bresenham draw straight lines (all quadrants all slope), the use of real-time judging the slope respectively to handle the positive and negative slope, with a symmetrical image. Well, the code is very simple.
File list:
Debug
....\Bresenham_line.exe
....\Bresenham_line.ilk
....\Bresenham_line.obj
....\Bresenham_line.pch
....\Bresenham_line.pdb
....\vc60.idb
....\vc60.pdb
Bresenham_line.cpp
Bresenham_line.dsp
Bresenham_line.dsw
Bresenham_line.ncb
Bresenham_line.opt
Bresenham_line.plg