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

gbegin Subroutine


Initializes the graphics system without changing the color map.


Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void gbegin( )




The gbegin subroutine initializes the graphics environment to its default values for global state attributes and creates a window that covers the screen. The gbegin subroutine queues the REDRAW window manager device, but does not change the color map or interfere with other programs that use the current color map.

This subroutine is not recommended for new application development. The winopen subroutine, together with related window management subroutines, provides a more flexible interface for graphics display initialization.

Note: This subroutine cannot be used to add to a display list.

Implementation Specifics

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


/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 outside the current window boundaries with the fullscrn subroutine.

Initializing the graphics system with the ginit subroutine.

Resetting all global state attributes to their initial values with the greset subroutine.

Creating a new window with the winopen subroutine.

Understanding the Hardware Used by GL and Setting Drawing Attributes.

Clearing, Resetting, and Initializing GL and Windows and Input Control Overview.

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