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

popattributes Subroutine

Purpose

Pops the attribute stack.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void popattributes( )

FORTRAN Syntax

SUBROUTINE POPATT

Description

The popattributes subroutine pops the attributes stack, restoring the values of the global state attributes most recently saved with the pushattributes 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.

Pushing down the attribute stack with the pushattributes 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 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 ]