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

getfont Subroutine

Purpose

Returns the index of the current raster font.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 getfont( )

FORTRAN Syntax

INTEGER*4 FUNCTION GETFON

Description

The getfont subroutine returns the index of the current raster font. The returned value is an index into the raster font table.

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

Return Value

The index of the current raster font.

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

Writing a text string with the charstr subroutine.

Defining bitmaps for a raster font with the defrasterfont subroutine.

Selecting a raster font with the font subroutine.

AIX Graphics Library Overview, Creating Text Characters, and Querying the System.


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