Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getdes(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getdescender()  —  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 amount in pixels that the descender extends below the character’s baseline. 

Each character in a font is defined using a bitmap which 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 which extends below the baseline is called a descender.  The lower case characters g and p typically have descenders. 

SEE ALSO

IRIS Graphics Programming, Section 5.3, Fonts

Version 2.5  —  April 22, 1987

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