发明名称 METHOD FOR PLOTTING STRAIGHT LINE
摘要 PURPOSE:To remove condition branching processing which is required in each generation of one picture element in convensional straight line plotting algorithm at the time of plotting a straight line and to improve a processing speed. CONSTITUTION:In the case of plotting a straight line in a window, the position of a picture element for starting the plotting is found out (51). Then a straight line obtained by moving a straight line to be plotted by 0.5 in parallel with a prescribed direction is supposed and the position of a picture element for starting the plotting the straight line and the inclination of the straight line are found out by decimals and errors are rounded up (52). Information relating to the number of picture elements to be plotted is set up (53) to start plotting. At the time of plotting, figures below the decimal point of the position of each picture element found as a decimal are omitted (54). The picture element of the position is plotted (55), the position of a picture element to be plotted next is found out as a decimal based upon the inclination of the straight line (56, 57). Whether plotting of picture elements to be plotted has been completed or not is judged (58), and when the plotting has not been completed yet, operation is returned to the step 54.
申请公布号 JPH06266845(A) 申请公布日期 1994.09.22
申请号 JP19930054332 申请日期 1993.03.15
申请人 HITACHI LTD;HITACHI MICRO SOFTWARE SYST CO LTD 发明人 SUKAI KAZUO;OKAYAMA KAORU;KUROKAWA YOSHITAKE;KOYANAGI NORIHIRO;KAWAGUCHI HITOSHI;TSUZAKI HIROSHI
分类号 G06F3/153;G06T11/20;G09G5/20;(IPC1-7):G06F15/72 主分类号 G06F3/153
代理机构 代理人
主权项
地址