Supported Browsers Home   
SetDrawBuffer Previous   
SetLineStipple Next   
GA_2DStateFuncs Up   

SetForeColor

Set the foreground color for subsequent rendering operations.

Declaration

void NAPI GA_2DStateFuncs::SetForeColor(
    GA_color color)

Prototype In

snap/graphics.h

Parameters

color

New foreground color to set

 

Description

This function sets the hardware foreground color for subsequent accelerated rendering primitives. For solid primitives such as DrawRect only the foreground color is used. For patterns primitives such as DrawPattRect and DrawStippleLine both the foreground and background colors are used.

See Also

SetBackColor, SetMix, Set8x8MonoPattern, Set8x8ColorPattern

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