Transformations
April 8, 2024OOPS
April 8, 2024UGC NET CS 2014 June-paper-3
Question 3 |
Given below are certain output primitives and their associated attributes. Match each primitive with its corresponding attributes :
List – I List – II
a. Line i. Type, Size, Color
b. Fill Area ii. Color, Size, Font
c. Text iii. Style, Color, Pattern
d. Marker iv. Type, Width, Color
a-i, b-ii, c-iii, d-iv | |
a-ii, b-i, c-iii, d-iv | |
a-iv, b-iii, c-ii, d-i | |
a-iii, b-i, c-iv, d-ii |
Question 3 Explanation:
Line Attributes: Basic attributes of a straight line segment are its type, its width, and its color. In some graphics packages, lines can also be displayed using selected pen or brush options.
AREA-FILL ATTRIBUTES: Basic attributes of an area-fill are
Fill Styles: Areas are displayed with three basic fill styles: hollow with a color border, filled with a solid color, or Wed with a specified pattern or design.
Pattern Fill
Soft Fill: the linear soft-fill algorithm repaints an area that was originally painted by merging a foreground color F with a single background color 8, where F + B.The current RGB color P of each pixel within the area to be refilled is some linear combination of F and B:
P = tF + (1- t)B
where the “transparency” factor t has a value between 0 and 1 for each pixel. RGB component of the colors
P = (PR, PC, PR), F = (FR, Fc, FR), B = (BR, Bc, BB)
Text Attributes: Following are the text attributes:
Font : is the choice of font (or typeface), which is a set of characters with a particular design style such as New York, Courier, Helvetica, London, ‘Times Roman, and various special symbol groups.
Font size
Font colour
Marker Attributes: A marker symbol is a single character that can be displayed in different colors and in different sizes. We select a particular character to be the marker symbol with
setMarkerType (int)
Hence Marker attributes are type, size and color.
AREA-FILL ATTRIBUTES: Basic attributes of an area-fill are
Fill Styles: Areas are displayed with three basic fill styles: hollow with a color border, filled with a solid color, or Wed with a specified pattern or design.
Pattern Fill
Soft Fill: the linear soft-fill algorithm repaints an area that was originally painted by merging a foreground color F with a single background color 8, where F + B.The current RGB color P of each pixel within the area to be refilled is some linear combination of F and B:
P = tF + (1- t)B
where the “transparency” factor t has a value between 0 and 1 for each pixel. RGB component of the colors
P = (PR, PC, PR), F = (FR, Fc, FR), B = (BR, Bc, BB)
Text Attributes: Following are the text attributes:
Font : is the choice of font (or typeface), which is a set of characters with a particular design style such as New York, Courier, Helvetica, London, ‘Times Roman, and various special symbol groups.
Font size
Font colour
Marker Attributes: A marker symbol is a single character that can be displayed in different colors and in different sizes. We select a particular character to be the marker symbol with
setMarkerType (int)
Hence Marker attributes are type, size and color.
Correct Answer: C
Question 3 Explanation:
Line Attributes: Basic attributes of a straight line segment are its type, its width, and its color. In some graphics packages, lines can also be displayed using selected pen or brush options.
AREA-FILL ATTRIBUTES: Basic attributes of an area-fill are
Fill Styles: Areas are displayed with three basic fill styles: hollow with a color border, filled with a solid color, or Wed with a specified pattern or design.
Pattern Fill
Soft Fill: the linear soft-fill algorithm repaints an area that was originally painted by merging a foreground color F with a single background color 8, where F + B.The current RGB color P of each pixel within the area to be refilled is some linear combination of F and B:
P = tF + (1- t)B
where the “transparency” factor t has a value between 0 and 1 for each pixel. RGB component of the colors
P = (PR, PC, PR), F = (FR, Fc, FR), B = (BR, Bc, BB)
Text Attributes: Following are the text attributes:
Font : is the choice of font (or typeface), which is a set of characters with a particular design style such as New York, Courier, Helvetica, London, ‘Times Roman, and various special symbol groups.
Font size
Font colour
Marker Attributes: A marker symbol is a single character that can be displayed in different colors and in different sizes. We select a particular character to be the marker symbol with
setMarkerType (int)
Hence Marker attributes are type, size and color.
AREA-FILL ATTRIBUTES: Basic attributes of an area-fill are
Fill Styles: Areas are displayed with three basic fill styles: hollow with a color border, filled with a solid color, or Wed with a specified pattern or design.
Pattern Fill
Soft Fill: the linear soft-fill algorithm repaints an area that was originally painted by merging a foreground color F with a single background color 8, where F + B.The current RGB color P of each pixel within the area to be refilled is some linear combination of F and B:
P = tF + (1- t)B
where the “transparency” factor t has a value between 0 and 1 for each pixel. RGB component of the colors
P = (PR, PC, PR), F = (FR, Fc, FR), B = (BR, Bc, BB)
Text Attributes: Following are the text attributes:
Font : is the choice of font (or typeface), which is a set of characters with a particular design style such as New York, Courier, Helvetica, London, ‘Times Roman, and various special symbol groups.
Font size
Font colour
Marker Attributes: A marker symbol is a single character that can be displayed in different colors and in different sizes. We select a particular character to be the marker symbol with
setMarkerType (int)
Hence Marker attributes are type, size and color.