Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>graphdefaults() reset graphics system variables</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 graphdefaults()         Reset Graphics System Variables

 #include   <graphics.h>

 void far   graphdefaults(void);

    graphdefaults() resets the following graphics system settings to
    their defaults:

     the viewport is set to the entire screen,
     the current cursor position is set to (0,0),
     the palette colors, background color and drawing color
     are set to their default values,
     the fill style and pattern are set to their default
     values,
     and the text font and justification are set to their
     default values.

    Returns:    Nothing.


See Also: initgraph() getgraphmode()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson