You are on page 1of 13

BHARATI VIDYAPEETH

JAWAHARLAL NEHRU INSTITUTE OF TECHNOLOGY


SYCM-A

Subject – Computer Graphics(CGR)

Subject Code - 22318

Respected faculty – Mrs.Phalake V.S.

Micro-project Name – Moving Car


Represented By

🠶 Vaibhav Bhagat (30)


🠶 Soham Kate (41)
🠶 Abhishek Koli (53)
🠶 Yogesh Algude (68)
Function used
🠶 Line()
🠶 Circle()
🠶 Setcolor()
🠶 Outtextxy()
🠶 Settextstyle()
🠶 Delay()
🠶 Getch()
🠶 Closegraph()
Use Of Functions
🠶 Line():-line function is used to draw a line from a point(x1,y1) to
point(x2,y2).
🠶 Circle():-circle function which draws a circle with center at
(x, y) and given radius.
🠶 Setcolor():-setcolor sets the current drawing color to color, which can
range from 0 to getmaxcolor.
🠶 Outtextxy():-outtextxy function which displays the text or string at a
specified point (x, y) on the screen.
🠶 Settextstyle:-settextstyle function which is used to change the way in
which text appears.
🠶 Delay:-The delay function in C is used to stop the execution of the
program for some period of time.
🠶 Getch():-getch method pauses the Output Console until a key is
pressed.
🠶 Closegraph:-closegraph function which closes the graphics mode,
deallocates all memory allocated by graphics system and restores the screen
to the mode it was in before you called initgraph.
🠶 Initgraph():-initgraph initializes the graphics system
by loading a graphics driver from disk (or validating a
registered driver), and putting the system into graphics
mode.
Flowchart:-
Input Code:
Output

You might also like