参考 R99(1,2)绘制曲线的光栅化算法,A.Zingl,2012http://members.chello.at/easyfilter/Bresenham.pdf 示例 >>>importnumpyasnp