0% found this document useful (0 votes)
35 views4 pages

#Synopsis #: !! (CSE-343p) Submitted By: Submitted To

The document discusses the features and functions used in a C++ computer graphics project including graphics and DOS commands like initgraph to initialize graphics mode, setbkcolor to set the background color, getimage to save a bit image to memory, and putimage to output a bit image to the screen. It also covers declarations of functions like settextstyle to set text characteristics and outtextxy to display a string at a specified location as well as itoa to convert an integer to a string. The document provides details on the source code of the computer graphics project submitted by Shivam D Sahu and Mohd. Hassan Raza.

Uploaded by

Rahul Roy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views4 pages

#Synopsis #: !! (CSE-343p) Submitted By: Submitted To

The document discusses the features and functions used in a C++ computer graphics project including graphics and DOS commands like initgraph to initialize graphics mode, setbkcolor to set the background color, getimage to save a bit image to memory, and putimage to output a bit image to the screen. It also covers declarations of functions like settextstyle to set text characteristics and outtextxy to display a string at a specified location as well as itoa to convert an integer to a string. The document provides details on the source code of the computer graphics project submitted by Shivam D Sahu and Mohd. Hassan Raza.

Uploaded by

Rahul Roy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

#SYNOPSIS

#
!!..COMPUTER GRAPHICS(pbl project)
!!
(CSE-343p)
SUBMITTED by:
SUBMITTED to:
-Shivam d sahu
-MRS.VIJAYALAKSHMI S
(1413101264)
-Mohd. Hassan raza
(1413101172)

*Features and function


used in source code:-
this game works in TURBOC compiler.
*The main features are included is:

GRAPHICS and DOS commands.

*Basic commands used in this game :

i nitgraph : initgraph is used to initialising of graphics mode in

the program.
ex. initgraph(&gm,&gd,Shivam&Raza);
here gm uses Graphics detect mode and gd points to graphics features to be used in

program ans last is a string it may be any string like c://tc/bin etc..
setbkcolor : sets the current background color.

for ex. if you want to set background color to blue, you can
call setbkcolor(BLUE); or setbkcolor(1);
getimage : saves a bit image of the specified region into memory.

putimage : outputs a bit image onto the screen.


settextstyle : sets the current text characteristics.

& .etc

*DECLARAIONS OF FUNCION:-

Declaration :

#settextstyle(int font, int direction, int


charsize);
#outtextxy : displays a string at the specified
location (in graphics mode).

Declaration :

#outtextxy(int x, int y, "textstring" );


#itoa : converts an integer to a string. It lies
on stdlib header library.

Return Values :

On success, point to target string. On error,


there is no error.

You might also like