Patent ID: 6297828
Filing Date: 2001-10-02
Classification: G06T

Abstract:
A graphics processing apparatus for drawing a line defined by a drawing start point, a drawing end point and width, comprising:determination means for determining whether a line to be drawn is horizontal or vertical;first means for, in a case where said determination means determines that the line to be drawn is neither vertical nor horizontal, selecting a pen step from a polygonal pen table including a plurality of pen steps, defining a start point of left contour line and a start point of right contour line of the line to be drawn on the basis of the drawing start point of the line to be drawn and the selected pen step, and defining the left contour line and the right contour line on the basis of the defined start points and the slope of the line to be drawn;second means for, in a case where said determination means determines that the line to be drawn is vertical, defining, without using a pen step, start points of left and right contour lines of the line to be drawn on the basis of the drawing start point and the width of the line to be drawn, and defining the left contour line and the right contour line on the basis of the defined start points, or, in a case where said determination means determines that the line to be drawn is horizontal, defining, without using a pen step, start points of left and right contour lines of the line to be drawn on the basis of the drawing start point, the drawing end point and the width of the line to be drawn;drawing means for drawing the line by painting between the left and right contour lines defined by said first or second means.