pushattributes(3G) — Silicon Graphics
NAME
pushattributes − saves the global state attributes
SPECIFICATION
C
pushattributes()
FORTRAN
subroutine pushat
Pascal
procedure pushattributes;
DESCRIPTION
pushattributes saves the global state attributes. The system maintains a stack of attributes, and pushattributes puts copies of them on the stack. The global state attributes that are saved include:
| Attributes | |
| backbuffer | pattern |
| color | raster font |
| frontbuffer | resetlinestyle |
| linestyle | RGB color |
| linestyle backup | RGB writemask |
| linewidth | writemask pattern |
| lsrepeat | |
The attribute stack is 10 levels deep. pushattributes is ignored if the stack is full.
SEE ALSO
backbuffer, color, frontbuffer, linewidth, lsbackup, lsrepeat, popattributes, resetls, RGBcolor, RGBmode, RGBwritemask, setlinestyle, setpattern, writemask Programming Guide, Section 2.2, Saving Global State Attributes
Version 3.6 — December 20, 1987