摘要 |
PURPOSE:To exactly and at a high speed bring a segment of arbitrary line width to picture drawing by deriving four apexes of a square determined from both end points of the segment and the line width, dividing the square into plural areas by a horizontal line, and bringing a straight line with line width to picture drawing in accordance with information of the horizontal line expanded in a memory. CONSTITUTION:An apex calculating means 11 derives four apexes of a square determined from both end points of a segment and the line width, and an area dividing means 12 divides this square into plural areas by a horizontal line passing through the apexd of the square. A memory expanding means 14 expands information of a horizontal line for connecting two dots in the same coordinate position of the coordinate in the vertical direction, and a memory 15. A digital straight line generating means 13 calculates the number of dots in the vertical direction by two kinds of straight line generation algorithms operated a simultneously against two side except a horizontal line in each area divided by the horisontal line, fells the inside of the square by only the horisontal line for connecting two dots on the coordinate in the same vertical direction, and brings a straight line of designated line width to picture drawing on a display means 16. In such a way, a segment of arbitrary line width can be brought to picture drawing exactly and at a high speed. |