Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pushattribu(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pushattributes()  —  Silicon Graphics

NAME

pushattributes − pushes attributes on a stack

SPECIFICATION

C
pushattributes()

FORTRAN
subroutine pushat

Pascal
procedure pushattributes;

DESCRIPTION

pushattributes saves the global graphics state variables.  The system maintains a stack of variables, 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 variable 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 IRIS Graphics Programming, Section 2.2, Saving Global Space
 

Version 2.5r1  —  October 29, 1986

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