pushattributes(3G)pushattributes(3G)NAMEpushattributes - pushes down the attribute stack
C SPECIFICATION
void pushattributes()PARAMETERS
none
DESCRIPTIONpushattributes pushes down the attribute stack, duplicating the following
global state attributes:
__________________________________
Attributes
__________________________________
backbuffer linewidth
cmode or RGBmode lsrepeat
color pattern
drawmode font
frontbuffer RGB color
linestyle RGB writemask
writemask shademodel
__________________________________
|
|
The subroutines that affect these attributes differ in their scope.
Refer to the Graphics Library Programming Guide to determine the scope of
a specific attribute.
The saved values can be restored using popattributes.
The attribute stack is ATTRIBSTACKDEPTH levels deep. pushattributes is
ignored if the stack is full.
SEE ALSO
backbuffer, cmode, color, drawmode, frontbuffer, linewidth, lsrepeat, po-
pattributes, RGBcolor, RGBmode, RGBwritemask, setlinestyle, setpattern,
shademodel, writemask
Page 1