摘要 |
PURPOSE:To improve the performance of straight line drawing by calculating the increment value of the distance of the minor axis per unit distance of a major axis in accordance with reciprocal values of the distance of the minor axis and that of the major axis and adding this increment value at each time of adding the value of the unit distance to the distance of the major axis. CONSTITUTION:The distance between start and end points in each dimension is calculated by a subtractor 3, and a major axis deciding circuit 4 decides dimensions of the major axis and the minor axis based on the calculation result. When the major axis and the minor axis are decided by the major axis deciding circuit 4, reciprocal values of the distance of the minor axis and the distance of the major axis converted by a reciprocal memory 6 are inputted to a multiplier 7 to calculate the increment value of the distance of the minor axis per unit distance of the major axis. This increment value is added by an accumulator 8 and the result is outputted at each time of adding the value of the unit distance to the distance of the major axis. |