Database
porter.lst
Associated article: Graphics Programming
Tags: Database
_GRAPHICS PROGRAMMING COLUMN_
by Kent Porter
[LISTING ONE]
1| void far draw_line (int x1, int y1, int x2, int y2)
2| /* Bresenham line drawing algorithm */
3| /* x1, y1 and x2, y2 are end points */
4| {
5| int w, h, d, dxd, dyd, dxn, dyn, ...


