getdescender(3G) — Silicon Graphics
NAME
getdescender − returns the character characteristics
SPECIFICATION
C
long getdescender();
FORTRAN
integer*4 function getdes()
Pascal
function getdescender(); longint;
DESCRIPTION
getdescender returns the value of the descender of the character in the current font that has the longest descender. The value returned is the number of pixels that the descender extends below the character’s baseline.
Each character in a font is defined using a bitmap that is displayed relative to the current character position. Vertical placement of each character is done using the current character position as the baseline or the line on the page. The portion of a character that extends below the baseline is called a descender. The lowercase characters g and p typically have descenders.
SEE ALSO
getfont, getheight, strwidth Programming Guide, Section 5.3, Fonts
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987