| Home
| Previous
| Next
| Up

MGL_setBackMode

Sets the current background mode for monochrome bitmap and stipple line rendering.

Declaration

void MGLAPI MGL_setBackMode(
int mode)

Prototype In

mgraph.h

Parameters

mode | New background mode to set

Description

This function sets the current background mode for the device context. Supported modes are enumerated in MGL_backModes. By default the MGL starts up in transparent mode, however you can change the background mode to draw monochrome bitmaps and stippled lines with all 0 bits draw in the background color instead of being transparent. This affects all monochrome bitmap functions (including text rendering) and stipple line functions.

See Also

MGL_getBackMode

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com