Xiaolin Wu's line algorithm: Difference between revisions
Content added Content deleted
Line 2,400: | Line 2,400: | ||
if \steep then |
if \steep then |
||
{ |
{ |
||
plot (w, ypxl1, |
plot (w, ypxl1, xpxl1, rfpart (yend) * xgap) |
||
plot (w, ypxl1 + 1, xpxl1, fpart(yend) * xgap) |
plot (w, ypxl1 + 1, xpxl1, fpart(yend) * xgap) |
||
} |
} |