{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Chapter4 - Slide 1 2001 By Default Attributes of Output...

Info icon This 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
Image of page 1

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

View Full Document Right 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.
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)
Image of page 3

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

View Full Document Right 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
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
Image of page 5

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

View Full Document Right 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.
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 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
Image of page 7

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

View Full Document Right 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. Color information is stored in frame buffer or in Color information is stored in frame buffer or in separate table and use pixel values as index to the separate table and use pixel values as index to the color table.
Image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern