Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getheight(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getheight()  —  Silicon Graphics

NAME

getheight − returns the maximum height of the characters

SPECIFICATION

C
long getheight()

FORTRAN
integer*4 function gethei()

Pascal
function getheight: longint;

DESCRIPTION

getheight returns the maximum height of the characters (defrasterfont defines) in the current raster font, including ascenders (in characters such as t and h) and descenders (such as y and p).  The height is usually the number of pixels between the top of the tallest ascender and the bottom of the lowest descender. 

SEE ALSO

strwidth IRIS Graphics Programming, Section 5.3, Fonts

NOTE

This routine is available only in immediate mode. 

Version 2.5  —  April 22, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026