Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pushattributes(3)  —  Unix Programmer’s Manual

NAME

pushattributes - push attributes on a stack

SYNOPSIS

C
pushattributes()

FORTRAN
subroutine pushat

Pascal
procedure pushattributes;

DESCRIPTION

Global state can be saved with the pushattributes command.  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:

backbuffer linewidth
color object font
raster font reset linestyle
frontbuffer RGB color
linestyle RGB writemask
linestyle backup texture
writemask

The attribute stack is 12 levels deep.  The pushattributes command is ignored if the stack is full. 

SEE ALSO

backbuffer, color, frontbuffer, linewidth, lsbackup, objfont, popattributes, resetls, RGBcolor, RGBwritemask, setlinestyle, settexture, writemask
 

Silicon Graphics  —  R1c

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