The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Aug. 22, 1995
Filed:
Jun. 14, 1994
Charles L Bain, Rhinebeck, NY (US);
Fai Chu, Kingston, NY (US);
Paul D Dinicola, Kingston, NY (US);
John J Lawless, Red Hook, NY (US);
International Business Machines Corporation, Armonk, NY (US);
Abstract
In a computer graphics system, a method and apparatus for scaling a line pattern having a predetermined first number of pixels to an actual line having a predetermined second number of pixels different from said first number. The total line length is divided by the line pattern length to obtain the number of line pattern repetitions and the number of remainder pixels in the actual line per line pattern repetition. An error term is incremented by the number of remainder pixels per repetition for each pixel of a given line pattern repetition that is processed. When the cumulative error term equals the line pattern length, the error term is decremented by the line pattern length and an extra pixel is generated. For lines that are shorter than the line pattern, a similar procedure is used except that when the cumulative error term equals the line pattern length, a pixel is deleted. Lines are drawn upon the completion of pattern segments rather than as successive pixel positions are generated to increase the drawing efficiency.