MGL_backModes

Declaration

typedef enum {
    MGL_OPAQUE_BACKGROUND,
    MGL_TRANSPARENT_BACKGROUND
    } MGL_backModes

Prototype In

mgraph.h

Description

Defines the background mode for monochrome bitmap and font drawing. By default the MGL starts up in transparent mode, however you can change the background mode to draw monochrome bitmaps with all 0 bits draw in the background color instead of being transparent. This affects all monochrome bitmap functions, including text rendering.

Members

MGL_OPAQUE_BACKGROUND

Background for monochrome bitmaps is opaque, and drawn in the current background color.

MGL_TRANSPARENT_BACKGROUND

Background for monochrome bitmaps is transparent

 

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