Introduction - If you have any usage issues, please Google them yourself
DDA algorithm to achieve the two-dimensional graphics primitives line segment generated midpoint algorithm and Bresenham algorithm achieve the midpoint algorithm for 2D graphics primitives arc generated achieve linear width attribute controls.