Patent ID: 8907956

Claim:
A method performed by a raster-graphics imaging apparatus, including a memory and a processor coupled to the memory, which generates an outline for a stroked line of a specified width in a digital image, the method comprising the steps of: based on an input line defined by an input vector that has two input points, determining, with the processor, an offset vector, the offset vector having components [Xoff, Yoff]; calculating, with the processor, a first set of two pairs of points based on the offset vector applied to the two input points of the input vector; and computing, with the processor, a second set of two pairs of points based on the first set of points; and storing the two sets of two pairs in the memory of the raster-graphics imaging apparatus, wherein the second set of two pairs of points define at least a portion of the outline, and one component of the offset vector [Xoff, Yoff] is independent of the inclination of the input vector and the width specified for the stroked line.