In Computer Graphics Terms Used in Library.

Programs For Computer Graphics
Computer Graphics Calculator
Computer Graphics Presentation

#include <graphics.h>

This is Define Graphics

int gDriver=DETECT,gMode;

gDriver is used to DETECT Drivers list in Path and gMode is Mode used For display its is automatically used

 initgraph(&gDriver,&gMode,"C:\\TC\\BGI");

initgraph is to initialize these Graphics

 C:\\TC\\BGI

This is path where Computer Graphics is Stores

 cleardevice();

cleardevice is Used to clean screen similar as clrscr().

 setbkcolor(15); Or setbkcolor(WHITE);
NameValue
BLACK0
BLUE1
GREEN2
CYAN3
RED4
MAGENTA5
BROWN6
LIGHTGRAY7
DARKGRAY8
LIGHTBLUE9
LIGHTGREEN10
LIGHTCYAN11
LIGHTRED12
LIGHTMAGENTA13
YELLOW14
WHITE15

These are list Colors used for display.

putpixel(x1,y1,RED);

x1 is x axis Coordinate
y1 is y axis Coordinate
RED is COLOR USED
This is used for Display one pixel Dot in certain x,y Coordinate .

Computer Graphics Presentation

Types of Projection PPT in Computer Graphics

(Visited 2,731 times, 1 visits today)
Share with Friends :
Written by:

Leave a Reply

Your email address will not be published. Required fields are marked *