graphics.h header file


graphics.h


graphics.h is the header file that is present in C language which consists of the prototype
of all the graphics functions present.

We have to include this header file in the programs to use the graphics.

Following are some of the functions of graphics.header file :

initgraph function

circle function

bar function

bar3d function

rectangle function

ellipse function

fillellipse function

line function

cleardevice function

setfillstyle function

floodfill function

outtextxy function

settextstyle function

arc function

setcolor function

getmaxx function

getmaxy function

movetofunction

putpixel function

closegraph function

and many others...

We will discuss all these functions thoroughly in upcoming tutorials.

All these methods definition are present in the graphics.h header file hence we have to include this header file in our program if we want to work in graphics.

0 comments:

Post a Comment