Drawing Method, Image Generating Device, And Electronic Information Apparatus
An edge function is computed from two vertex coordinates given by a rendering target line 66 as shown in FIG. 8 . Gradient determination is then performed on the edge function, and if the acute angle formed by the rendering target line 66 and the x-axis of the rendering plane coordinate system is 45...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | An edge function is computed from two vertex coordinates given by a rendering target line 66 as shown in FIG. 8 . Gradient determination is then performed on the edge function, and if the acute angle formed by the rendering target line 66 and the x-axis of the rendering plane coordinate system is 45 degrees or less, the functions representing two shift lines 68 that are formed by translating the rendering target line 66 in the y-axis direction by 0.5d and -0.5d will be computed, where d denotes the width of one pixel. If, on the other hand, the acute angle formed by the rendering target line 66 and the y-axis of the rendering plane coordinate system is more than 45 degrees, the functions representing two shift lines that are formed by translating the rendering target line 66 in the x-axis direction by 0.5d and -0.5d will be computed. Then, the number of subpixels included in a parallelogram abcd, which has four points of the starting points and ending points of the two shift lines 68 as vertices, is acquired so as to determine the pixel value of each pixel based on the number. |
---|