[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

pushattributes Subroutine

Purpose

Pushes down the attribute stack.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void pushattributes( )

FORTRAN Syntax

SUBROUTINE PUSHAT

Description

The pushattributes subroutine pushes down the attribute stack. That is, the record at the top of the stack is duplicated and pushed onto the stack. The following attributes reside on the stack and are thus pushable and popable:

The saved values can be restored using the popattributes subroutine.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

Files

/usr/include/gl/gl.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fgl.h Contains FORTRAN constant and variable type definitions for GL.

Related Information

Enabling drawing in the back buffer with the backbuffer subroutine.

Setting color map mode as the current mode with the cmode subroutine.

Setting the color index in the current mode with the color subroutine.

Specifying the target framebuffer of the drawing subroutines with the drawmode subroutine.

Enabling drawing in the front buffer with the frontbuffer subroutine.

Specifying the line width with the linewidth subroutine.

Setting the repeat factor for the current linestyle with the lsrepeat subroutine.

Popping the attribute stack with the popattributes subroutine.

Setting the current color in RGB mode with the RGBcolor subroutine.

Granting write access to a subset of available bitplanes in RGB mode with the RGBwritemask subroutine.

Selecting a linestyle pattern with the setlinestyle subroutine.

Selecting one of 16 small color maps with the setmap subroutine.

Selecting a pattern for filling polygons and rectangles with the setpattern subroutine.

Selecting the shading model used to draw a polygon with the shademodel subroutine.

Granting write permission to a subset of available bitplanes in color map mode with the writemask subroutine.

AIX Graphics Library Overview, Setting Drawing Attributes, and Understanding the Hardware Used by GL in GL3.2 Version 4 for AIX: Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]