Supported Browsers Home   
Use8x8TransColorPattern Previous   
WaitTillIdle Next   
GA_2DStateFuncs Up   

Use8x8TransMonoPattern

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

Declaration

void NAPI GA_2DStateFuncs::Use8x8TransMonoPattern(
    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 transparent mono pattern fills. This means that where a bit is 0 in the bitmap pattern the destination pixel remains untouched, and where a bit is 1 in the bitmap pattern the destination pixel is drawn in the foreground color.

Note:    Some hardware may not support transparent mono pattern fills, in which case this function will be a NULL pointer.

See Also

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

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