17.12 SUMMARY OF GRAPHICS FUNCTIONS AND CONSTANTS

Table 17.1 illustrates the various graphics functions available in Turbo C++ 3.0.

 

Table 17.1 Summary of Graphics Functions

Function name Description
arc Draws a circular arc
circle Draws a circle
clearviewport Clears the current viewport
closegraph Shuts down graphic system
detectgraph Checks hardware and determine graphics hardware
drawpoly Draws a polygon
ellipse Draws an elliptical arc
floodfill Fills the closed area
getbkcolor Returns the current background colour
getcolor Returns the current drawing colour
getimage Saves the image in the memory
getmaxcolor Return maximum colour value
getmaxx Returns maximum number of pixels in x-direction
getmaxy Returns maximum ...

Get Object Oriented Programming with C++, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.