pushattributes(3G) pushattributes(3G)
NAME
pushattributes - saves the global state attributes
SPECIFICATION
C pushattributes()
FORTRAN subroutine pushat
DESCRIPTION
pushattributes saves the global graphics state attributes.
The system maintains a stack of attributes, and
pushattributes puts copies of them on the stack. The global
state attributes that will be saved are:
__________________________________
| Attributes |
__________________________________
| |
backbuffer linewidth
| |
cmode or RGBmode lsrepeat
| |
color pattern
| |
concave raster font
| |
drawmode RGB color
| |
frontbuffer RGB writemask
| |
linestyle writemask
| |
shademodel
|_________________________________|
The attribute stack is 10 levels deep. pushattributes is
ignored if the stack is full.
SEE ALSO
backbuffer, cmode, concave, color, drawmode, frontbuffer,
linewidth, lsrepeat, popattributes, RGBcolor, RGBmode,
RGBwritemask, setlinestyle, setpattern, shademodel,
writemask
Programming Guide, Section 2.2, Saving Global State
Attributes
Page 1 (printed 8/20/87)