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

getheight Subroutine

Purpose

Returns the maximum character height in the current raster font.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 getheight( )

FORTRAN Syntax

INTEGER*4 FUNCTION GETHEI

Description

The getheight subroutine returns the maximum height of the characters, in the current raster font. The height is defined as the number of pixels between the top of the tallest ascender (in characters such as f and h) and the bottom of the lowest descender (in characters such as y and p).

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

Return Value

The maximum height (in pixels) of a character in the current 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

Returning the baseline extent of the longest character descender with the getdescender subroutine.

Returning the current raster font number with the getfont subroutine.

Returning the width of the specified text string with the strwidth subroutine.

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


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