Attributes of output primitives( curve attributes & area fill attributes)

4,035 views 11 slides Feb 06, 2022
Slide 1
Slide 1 of 11
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11

About This Presentation

Computer Graphics


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.

Pattern Fill