Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pushattribu(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pushattributes()  —  Silicon Graphics Beta Release

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.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026