getheight(3) — Silicon Graphics R1c
NAME
getheight - return the maximum height of the characters in the current raster font
SYNOPSIS
C
short getheight()
FORTRAN
integer*2 function gethei()
Pascal
function getheight: Short;
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 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 only be used in immediate mode.
Version 2.3 — July 04, 1985