GfxSetBkMode
- set graphic background mode

Low-level graphics
(AmiBroker 50)


SYNTAX GfxSetBkMode( bkmode )
RETURNS NOTHING
FUNCTION Sets the background mode. The background mode defines whether the system removes existing background colors on the drawing surface before drawing text, hatched brushes, or any pen style that is not a solid line.

Parameters:

  • bkmode - Specifies the mode to be set. This parameter can be either of the following values:
    OPAQUE = 2 - Background is filled with the current background color before the text, hatched brush, or pen is drawn. This is the default background mode.
    TRANSPARENT = 1 - Background is not changed before drawing

    NOTE: This is LOW-LEVEL graphic function. To learn more about low-level graphic functions please read TUTORIAL: Using low-level graphics.

EXAMPLE GfxSetBkMode( 1 ); // set transparent mode
SEE ALSO GfxSetTextAlign() function , GfxSetTextColor() function , GfxTextOut() function , GfxSelectPen() function

References:

The GfxSetBkMode function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.