Professional Documents
Culture Documents
Definition
Line Attribute
Curve Attribute
Color and Grayscale Level
Area Filled Attribute
Text and Characters
The way a primitive is to be displayed is referred to as an
Attribute Parameter.
miter join
round join
beveI join.
A miter join is accomplished by
extending the outer
boundaries of each of the two
lines until they meet.
20
Direct
21
Indirect
22
Exercise:
What is the size of frame buffer required for the following
cases:
Case 1 (Direct): Resolution of 1024 * 1024 with 24 bits per
pixel
Case 2 (Indirect): Same resolution with 8 bit per pixel that
indexed out of 16 million available colors
Conclusion
CLUT is good for storage but cant give a very high
resolution picture.
23
24
25
A minimum number of colors can be provided
in this scheme with 3 bits of storage per pixel,
as shown in Table.
With monitors that have no color capability,
color functions can be used in an application
program to set the shades of gray, or
grayscale, for displayed primitives.
00111000
01101100
11000110
11000110
11111110
11000110
11000110
00000000
33
The appearance of displayed characters is
controlled by attributes such as font, size,
color, and orientation.
setMarkerSizeScaleFactor (ms)