Bresenham’s line algorithm 2018-05-31 未分类zhagang The algorithm can be extended to cover gradients between 0 and -1 by checking whether y needs to inc…