pushattributes() — Silicon Graphics
NAME
pushattributes - pushes attributes on a stack
SPECIFICATION
C
pushattributes()
FORTRAN
subroutine pushat
Pascal
procedure pushattributes;
DESCRIPTION
pushattributes saves the global state. A stack of attributes is maintained, and pushattributes puts copies of global state variables on the stack. The global state variables that will be saved are:
| Attributes | |
| backbuffer | linewidth |
| color | lsrepeat |
| raster font | reset linestyle |
| frontbuffer | RGB color |
| linestyle | RGB writemask |
| linestyle backup | pattern |
| writemask | |
The attribute stack is 12 levels deep. pushattributes is ignored if the stack is full.
SEE ALSO
backbuffer, color, frontbuffer, linewidth, lsbackup, lsrepeat, popattributes, resetls, RGBcolor, RGBwritemask, setlinestyle, settexture, writemask
Version 2.4 — May 08, 1986