graphics.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_setcolor
 Description Example                     Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   <graph.h>
 
  Syntax:    short _setcolor( short color );
 
  Returns:   the previous color index, or -1 if an error occurs.
 
  See also:  _arc, _ellipse, _floodfill, _getcolor, _lineto, _outgtext,
             _pie, _rectangle, _selectpalette, _setbkcolor, _setpixel,
             _settextcolor
                                    -♦-