Graphics using c language involves understanding a library containing functions to draw shapes, changing colors or manipulating with images. There are many available such as OpenGL, SDL and many others but for a beginner Turbo c compiler contains a header file graphics.h. Graphics programming is easy and interesting, once we start learning it we want to practice it more. It's interesting because it's not a textual matter. Using it we can make simulations, screensavers, games and applications. Using it we can modify photographs and create our own. Graphics programs may contains visual illustrations, charts, diagrams and geometric figures.
You are here
Functions of graphics.h
arc
bar
bar3d
circle
cleardevice
closegraph
drawpoly
ellipse
fillellipse
fillpoly
floodfill
getarccords
getbkcolor
getcolor
getdrivername
getimage
getmaxcolor
getmaxx
getmaxy
getpixel
getx
gety
graphdefaults
grapherrormsg
imagesize
line
lineto
linerel
moveto
moverel
outtext
outtextxy
pieslice
putimage
putpixel
rectangle
sector
setbkcolor
setcolor
setfillstyle
setlinestyle
settextstyle
setviewport
textheight
textwidth