Patent ID: 7884825
Filing Date: 2011-02-08
Classification: G06T

Abstract:
1. A method for rendering lines on a display screen, comprising: acquiring vertex data of a line to be rendered; specifying an area for rendering the line to be rendered in such a manner as to contain the line to be rendered in the center and have a width which is an integral multiple of the size of a pixel in either the horizontal or vertical direction of a display screen, the area defining two sides extending in only one of the horizontal or vertical directions and the selection of the horizontal or vertical direction being determined by the angle of the line; determining regions inside and outside of the area for rendering the line by specifying and scanning a scan area of pixels which contains the area for rendering the line, each pixel having a display area; determining a pixel value for each pixel in the scan area in accordance with the proportion of the display area of each pixel included in the area for rendering the line; and rendering the line on the display screen according to the pixel values thus determined.