Important points for Bresenham Line Generation Algorithm
Note:
- Bresenhams algorithm is generalised to lines along with arbitrary slopes with identifying the symmetry among the different octants and quadrants of the coordinate system.
- For line with positive slope (m) that is, m > 1, so we interchange the roles of x and y direction that is, we step along y directions in unit steps and determine successive x values nearest the line path.
- For negative slopes the procedures are same except that now, one coordinates reduces as the other raises.