|
|
|
|
MGL_setBackColor
Sets the currently active background color.
Declaration
void MGLAPI MGL_setBackColor(
color_t color)
Prototype In
mgraph.h
Parameters
color |
New background color value |
Description
Sets the current background color value. The background color value is used to clear the display and viewport with the MGL_clearDevice and MGL_clearViewport routines, and is also used for filling solid primitives in the MGL_BITMAP_OPAQUE fill mode.
Note that the value passed to this routine is either a color index or a color value in the correct packed pixel format for the device context. Use the MGL_packColor routine to pack 24 bit RGB values for RGB device contexts.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com