摘要 |
A technique in which processing is applied indiscriminately to the line segments that construct a figure is replaced by a technique through which the optimum processing stage is selected depending upon drawing attributes (line width, slope of the line segment and shape, etc.) of the line segments per se and the particular figure in which the line segments are being used. This makes it possible to execute efficient drawing of graphics. To this end, it is determined whether a given line segment is horizontal or vertical, and ordinary processing is executed if the line segment is horizontal or vertical. In a case where the line segment is neither horizontal nor vertical and the width of the line segment is less than 2, a pen step conforming to the slope is used. If the line width is equal to or greater than 2, the corresponding pen step is used.
|