Line is a basic element of graphics.Its drawing algorithm is always one of the basic content of computer graphics research.In order to solve the aliasing phenomenon generated when drawing a non-vertical and non-horizontal straight line on a raster graphics monitor,based on Bresenham algorithm and the thought of the traditional unweighted area sampling algorithm,a new anti-aliasing straight line drawing algorithm was put forward.Compared to the traditional algorithm and the well-known Wu algorithm,the new al...