Simple Graphics Routines

The following TurboC routines are intended as a self guided tutorial to various basic graphics functions. Download them, look at the code, run them and then build from there.

In entering the graphics mode, the function initgraph is called. In all of these routines I have assumed the graphics driver is located in c:\turboc. Graphics drivers include att.bgi, cga.bgi, egavga.bgi and ibm8514.bgi.

It is suggested that you read these routines in order as the first few contain annotations which are omitted in later routines.