Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getheight(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getheight()  —  Silicon Graphics Beta Release

NAME

getheight - returns the maximum height of the characters in the current raster font

SPECIFICATION

C
long getheight()

FORTRAN
integer*4 function gethei()

Pascal
function getheight: longint;

DESCRIPTION

getheight returns the maximum height (as defined in the defrasterfont command that defined the font) of the characters in the current raster font, including ascenders (present in characters like ‘t’ and ‘h’) and descenders (as in ‘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

NOTE

This command can be used only in immediate mode. 

Version 2.3  —  July 04, 1985

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