Bresenham Line Generation Algorithm for Positive Slope
(BLD algorithm for positive slope (0 < m < 1)
- If slope is negative then utilize reflection transformation to transform the line segment along with -ve slope to line segment along with a +ve slope.
- Determine constants 2Δy, 2Δy - 2Δx, Δy, Δx at once for all lines to be scan converted, consequently the arithmetic engages only integer subtraction or addition of these constants.