Professional Documents
Culture Documents
OUTPUT PRIMITIVES
Output Primitives
Computer graphics are made up of basic components of
Computer Graphics that are called as Graphic Output
Primitives.
The primitives are the simple geometric functions that are
used to generate various Computer Graphics required by
the user.
Some of the output primitives are pixel, straight line,
rectangle, circle, ellipse, etc.
Line Function
Fig. B (300,200)
r (40)
Rectangle Function
Rectangle function is used to draw a rectangle. It has four co-
ordinates.
Co-ordinates of left top and right bottom, corner are required
to draw the rectangle
300 400
Fig. D
THANKS TO ALL
Created by: Samiksha More & Chetan Mahajan