Use8x8MonoPattern

Selects one of the 8x8 monochrome patterns for subsequent rendering operations.

Declaration

void NAPI GA_2DStateFuncs::Use8x8MonoPattern(
    N_int32 index)

Prototype In

snap/graphics.h

Parameters

index

Index of the 8x8 mono pattern to make active

 

Description

This function selects one of the 8, 8x8 monochrome patterns to be used for all subsequent monochrome pattern filled functions. This function enables the monochrome pattern to be used for opaque mono pattern fills. This means that where a bit is 0 in the bitmap pattern the destination pixel is drawn in the background color, and where a bit is 1 in the bitmap pattern the destination pixel is drawn in the foreground color.

See Also

Use8x8TransMonoPattern, Set8x8MonoPattern, Set8x8ColorPattern, Use8x8ColorPattern, GA_2DRenderFuncs::DrawPattScan, DrawPattScanList, DrawPattRect, DrawPattTrap

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