Attributes of output primitives( curve attributes & area fill attributes)
4,035 views
11 slides
Feb 06, 2022
Slide 1 of 11
1
2
3
4
5
6
7
8
9
10
11
About This Presentation
Computer Graphics
Size: 451.52 KB
Language: en
Added: Feb 06, 2022
Slides: 11 pages
Slide Content
Attributes of output primitives Curve Attributes Area fill Attributes
Curve Attributes
Area – Fill Attributes Options for filling a defined region include a choice between a solid color or a patterned fill and choices for the particular colors and patterns. Fill Styles: Area are displayed with three basic fill styles: hollow with a color border , filled with a solid color, or filled with a specified pattern or design. A basic fill style is selected in a PHIGS program with the function setInteriorStyle ( fs ) Values for the fill-style parameter fs include hollow, solid, and pattern.
Another value for fill style is hatch which is used to fill an area with selected hatching patterns- parallel lines or crossed lines. Hollow areas are displayed using only the boundary outline, with the interior color the same as the background color. A solid fill is displayed in a single color up to and including the borders of the region. setInteriorColourIndex ( fc ) Where fill – color parameter fc is set to the desired color code.