Yend

Some articles on yend:

Xiaolin Wu's Line Algorithm
... x1 - x0 dy = y1 - y0 gradient = dy / dx // handle first endpoint xend = round(x0) yend = y0 + gradient * (xend - x0) xgap = rfpart(x0 + 0.5) xpxl1 = xend // this will be used in the main loop ypxl1 = ipart(yend ...