1.10 Area Fill and Character - Attributes of Output
1.10 Area Fill and Character - Attributes of Output
Lecture Agenda
• Area Fill Attributes
Fill Styles
Pattern Fill
Soft Fill
• Character Attributes
Text Attribute
Marker Attributes
EXPECTED OUTCOME
After studying this class, you should be able to:
P=tF+(1-t)B
• setCharacterSpacing(cs)
• setTextPath (tp)
• setTextAlignment (h,v)
• setTextPrecision (tpr)
Key Points
– Soft fill
– Pattern fill
– Text attributes
– Area fill attributes
– Character attributes
MCQ
1. A basic fill style is selected in a PHIGS program with the
function
a) setInteriorStyle (fs)
b) setStyle (fs)
c) SetfillStyle (fs)
d) setInteriorStyleIndex (fs)
MCQ
2. Which one is not a type of basic fill styles?
a) Hollow
b) solid color
c) Pattern
d) Dark
MCQ
3. The process of filling an area with rectangular
pattern is called
a) Tiling
b) Linear fill
c) Tint-fill
d) Soft-fill
MCQ ANSWERS
1) Answer: a
Explanation: We can select the basic fill style by using
setInteriorStyle (fs).
2) Answer: d
Explanation: Dark fill is not a type of basic fill style, rest
of them is the basic fill styles.
3) Answer: a
Explanation: Rectangular fill pattern is called tiling or
tiling pattern.
UNIT-I QUESTIONS
SECTION A
1. The slope intercept line equation is given by ________.
2. Expand DDA.
3. _____is used for photo realistic images and for computer drawings.
4. _____ is a faster method for calculating pixel position.
5. The efficient raster line algorithm was developed by _________.
6. The circle is a frequently used component in ______&________.
7. The mid-point method, the circle function is given by ________.
8. The general equation of ellipse is stated as ________.
9. The eccentric circle of ellipse is called as __________.
10. For any circle point the distance relationship is expressed by
________.
UNIT-I QUESTIONS
SECTION B
1. Explain about different types of line attributes.
2. Describe the various area fill attributes.
3. Write a note on color and gray scale level.
4. Explain about points and lines.
5. Write short notes on DDA algorithm.
6. Explain about line equations.
7. Explain about properties of circles.
8. Explain about properties of ellipse.
9. Write short notes on line width.
10. Write a short note on styles of fill attributes.
UNIT-I QUESTIONS
SECTION C
1. With procedure explain the Bresenham’s line drawing algorithm.
2. Explain briefly about circle generating algorithm.
3. Briefly discuss the midpoint ellipse algorithm.
4. Describe about area fill attributes.
5. Explain briefly about DDA line drawing algorithm.
6. Discuss briefly the character attributes.
7. Explain the ellipse generating algorithm.
8. Discuss the midpoint circle algorithm in detail.
9. Explain briefly about properties of circle and ellipse generating
algorithm.
10. Explain briefly about line attributes.
UNIT-I QUESTIONS
SECTION A(Previous year University QP)
1) Digital devices display a straight line segment by plotting discrete
points between ________ end points
a) Eight
b) Six
c) Four
d) Two
2) In Color raster system, the number of color choices available
depends on the amount of storage provided per pixel in the ____ buffer
a) Frame
b) Storage
c) System
d) Raster
oefqdki - Graphics & Multimedia Unit I Output Primitives 28
Computer Science III B.Sc CS Sem : VI Year 2019 - 2020
UNIT-I QUESTIONS
SECTION B(Previous year University QP)
UNIT-I QUESTIONS
SECTION C(Previous year University QP)
VIDEO URL
https://www.youtube.com/watch?v=yZIyWA08sJ4
Next Lecture
Unit –II 2D Geometric Transformations: Basic
Transformations – Matrix Representations
DISCUSSIONS