Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getheight(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getheight(3G)  —  Silicon Graphics

NAME

getheight − returns the maximum character height in the current raster font

SPECIFICATION

C
long getheight()

FORTRAN
integer*4 function gethei()

Pascal
function getheight: longint;

DESCRIPTION

getheight returns the maximum height of the characters, which 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

getdescender, getfont, strwidth Programming Guide, Section 5.3, Fonts

NOTE

This routine is available only in immediate mode. 

Version 3.6  —  December 20, 1987

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