|
计算机科学 2008
Eight-step Line-generating Algorithm Based on Symmetry
|
Abstract:
In this paper,we present a new line drawing algorithm named eight-step incremental generation of lines by analyzing the relationship between generation models of line and the linear slope. The algorithm draws four pixels on the same time,and it can draw eight pixels as well considering the symmetry of line generation. First,the algorithm gives the standard of the pixel choosing that the most closed to the straight line,and then convert to the integral variable form. As only addition,subtraction and left shi...