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

popviewport Subroutine

Purpose

Pops the viewport stack.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void popviewport( )

FORTRAN Syntax

SUBROUTINE POPVIE( )

Description

The popviewport subroutine pops the viewport stack, restoring the values of the viewport, screenmask, and depth range most recently saved with the pushviewport 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

Setting the viewport depth range with the lsetdepth subroutine.

Pushing the viewport onto the viewport stack with the pushviewport subroutine.

Defining a rectangular 2-D clipping mask with the scrmask subroutine.

Setting the area of the window used for all drawing with the viewport subroutine.

AIX Graphics Library Overview and Using Viewports and Screenmasks.


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