What is Graphics programming ?
Graphics programming is the area of programming where we can draw the object structure like circles, lines and all geometry object.
Which header file we use ?
#include< graphics.h> header file will include in you program to make a graphics object.
Function that are define in graphics.h :
: to display the pixel
: to display the line
: to display the circle
: to set the color of object
: to set the color of the background
: to fill the color inside the object
: to display the text on the screen
: to get the pixel of the object
: to draw a eclipse object
: to draw a rectangle object
To load the graphics in System:
-In this program, we just load the graphics driver.
-Here, 'gd' is graphics driver and 'gm' is graphics mode.
-initgraph() is the function that bind the graphics driver.