摘要
斜率属于[0,1]的光栅直线由一组水平线段组成,各线段的长度与直线斜率的倒数密切相关.本文分析了水平线段的组成规律,设计了一个新的直线绘制算法.如果直线较长并且斜率较小,那么新算法比Bresenham算法更有效率.
A raster line with slope betwen \ is composed of a group of horizontal line-segments,and the lengths of these line-segments are closely related with the reciprocal of the line's slope.This paper discussed the rules of these line-segments,and designed a new line-drawing algorithm.If the line is long and the slope small,the new algorithm is more efficient than Bresenham algorithm.
出处
《湖北民族学院学报(自然科学版)》
CAS
2012年第1期98-100,共3页
Journal of Hubei Minzu University(Natural Science Edition)