Description: Using the Bresenham algorithm to generate a straight line.The basic principle of Bresenham algorithm is to each row of each column of pixels raster devices connect the central construct a set of virtual grid lines. Straight-line calculation of the intersection with the vertical straight line the starting grid to the end of the sequence, and then determine which column of pixels with this intersection nearest pixel.
To Search:
File list (Check if you may need any files):
DrawLine\Debug\DrawLine.exe
........\.....\DrawLine.ilk
........\.....\DrawLine.obj
........\.....\DrawLine.pdb
........\.....\DrawLine.res
........\.....\DrawLineDoc.obj
........\.....\DrawLineView.obj
........\.....\MainFrm.obj
........\.....\P.obj
........\.....\P2.obj
........\.....\StdAfx.obj
........\.....\vc60.idb
........\.....\vc60.pdb
........\DrawLine.aps
........\DrawLine.clw
........\DrawLine.cpp
........\DrawLine.dsp
........\DrawLine.dsw
........\DrawLine.h
........\DrawLine.ncb
........\DrawLine.opt
........\DrawLine.plg
........\DrawLine.rc
........\DrawLineDoc.cpp
........\DrawLineDoc.h
........\DrawLineView.cpp
........\DrawLineView.h
........\MainFrm.cpp
........\MainFrm.h
........\P.cpp
........\P.h
........\P2.cpp
........\P2.h
........\ReadMe.txt
........\res\DrawLine.ico
........\...\DrawLine.rc2
........\...\DrawLineDoc.ico
........\...\Toolbar.bmp
........\resource.h
........\StdAfx.cpp
........\StdAfx.h
........\Debug
........\res
DrawLine