Chapter4 - Slide 1 2001 By Default Attributes of Output Primitives Definition Parameter that affects the way a primitive will be Parameter

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
© 2001 By Default! A Free sample background from www.pptbackgrounds.fsnet.co.uk Slide 1 Attributes of Output Primitives Attributes of Output Primitives Definition Definition Parameter that affects the way a primitive will be Parameter that affects the way a primitive will be displayed displayed Line Attribute . Type . Width . Color . Pen & Brush
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
© 2001 By Default! A Free sample background from www.pptbackgrounds.fsnet.co.uk Slide 2 Line Attribute Type . Solid . Dotted – very short dash with spacing equal to or greater than dash itself . Dashed – displayed by generating an interdash spacing Pixel count for the span and interspan length is specified by the mask . Ex. 111100011110001111 Note : Fixed pixel with dashes can produce unequal length dashes. It depend on line orientation. So, need to adjust the number of plotted pixels for different slopes.
Background image of page 2
© 2001 By Default! A Free sample background from www.pptbackgrounds.fsnet.co.uk Slide 3 Line Attribute Width . Specify in pixels and proportion of a standard line width. . Thicker line can be produced by. . Adding extra pixel vertically when |m| < 1 . Adding extra pixel horizontally when |m| > 1 . Issues: . Line have different thickness on the slope . Problem with . End of the line . Joining the two lines (polygon)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
© 2001 By Default! A Free sample background from www.pptbackgrounds.fsnet.co.uk Slide 4 Attributes of Output Primitives Attributes of Output Primitives
Background image of page 4
© 2001 By Default! A Free sample background from www.pptbackgrounds.fsnet.co.uk Slide 5 Attributes of Output Primitives Attributes of Output Primitives
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
© 2001 By Default! A Free sample background from www.pptbackgrounds.fsnet.co.uk Slide 6 Line Attribute Pen and Brush Pen and Brush . The selected “pen” or “brush” determine the way a line will be drawn. . The selected “pen” or “brush” determine the way a line will be drawn. . Pens and brushes have size, shape, color and pattern attribute. . Pens and brushes have size, shape, color and pattern attribute. . Pixel mask is applied in both of them. . Pixel mask is applied in both of them.
Background image of page 6
© 2001 By Default! A Free sample background from www.pptbackgrounds.fsnet.co.uk Slide 7 Curve Attribute Similar to line : type + width Similar to line : type + width Thicker curves can be produced by: Thicker curves can be produced by: 1. Plotting additional pixel 1. Plotting additional pixel 2. Filling the space between two concentric circles. 2. Filling the space between two concentric circles. 3. Using thicker pen or brush 3. Using thicker pen or brush
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
© 2001 By Default! A Free sample background from www.pptbackgrounds.fsnet.co.uk Slide 8 COLOR AND GRAY SCALE LEVEL Color Color Colors are represented by colors codes which are Colors are represented by colors codes which are positive integers. positive integers.
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/05/2010 for the course COMPUTER S 876 taught by Professor Ch during the Spring '10 term at Amirkabir University of Technology.

Page1 / 56

Chapter4 - Slide 1 2001 By Default Attributes of Output Primitives Definition Parameter that affects the way a primitive will be Parameter

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online