Patent ID: 7221368

Claim:
A method for drawing a stippled line, the method comprising: determining an edge equation associated with an end of the stippled line; determining a distance function associated with the stippled line using the edge equation; evaluating the distance function for a set of points within an area of the stippled line to determine a corresponding set of distance values; determining a set of stipple pattern index values for the set of points, wherein each stipple pattern index value specifies a correspondence between at least one pattern bit of a stipple pattern and one of the set of points within the area of the stippled line; applying the values of the pattern bits of the stipple pattern specified by the set of stipple pattern index values to the corresponding ones of the set of points to determine a set of point values for the set of points; applying a pattern scaling factor to the distance function to stretch or squash the stipple pattern applied to the stippled line; and displaying the stippled line with the pattern scaling factor applied.