3.output Primitives: - Raster Display
3.output Primitives: - Raster Display
Output Primitives
INTRO:
The diagrams or images generated digitally are nothing but collection of pixels and their
colours . For depicting these pixels the display screen is divided into x-y coordinates and an
image file contains these coordinates and their colour and intensity as data.
The origin on the screen is represented by the left upper corner of the screen the
positive x axis is towards the right and the positive yaxis is towards below .
There are two ways for displaying these pixels:
-Raster display :
In this type each row of screen is scanned and compared with the image coordinates,if
they match then the pixel is set on with the colour specified in the image file.
-Vector display:
In this type of display instead of scanning the whole row ,this type directly access the
coordinates and set the pixel at that point.