Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pushattributes(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



pushattributes(3G)                                          pushattributes(3G)



NAME
     pushattributes - pushes down the attribute stack

C SPECIFICATION
     void pushattributes()

PARAMETERS
     none

DESCRIPTION
     pushattributes pushes down the attribute stack, duplicating the following
     global state attributes:

                        __________________________________
                        |           Attributes            |
                        |_________________________________|
                        |backbuffer         linewidth     |
                        |cmode or RGBmode   lsrepeat      |
                        |color              pattern       |
                        |drawmode           font          |
                        |frontbuffer        RGB color     |
                        |linestyle          RGB writemask |
                        |writemask          shademodel    |
                        |_________________________________|

     The subroutines that affect these attributes differ in their scope.
     Refer to the Graphics Library Programming Guide to determine the scope of
     a specific attribute.

     The saved values can be restored using popattributes.

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

SEE ALSO
     backbuffer, cmode, color, drawmode, frontbuffer, linewidth, lsrepeat, po-
     pattributes, RGBcolor, RGBmode, RGBwritemask, setlinestyle, setpattern,
     shademodel, writemask

















                                                                        Page 1



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