(C) 1998 AROS - The Amiga Research OS


NAME

void FontExtent (font , fontExtent)

LOCATION
In GfxBase at offset 127

SYNOPSIS
struct TextFont * font
struct TextExtent * fontExtent

FUNCTION
Fill out a text extent structure with the maximum extent of the characters for the font in question.

INPUTS
font
- The font the extent of which to calculate.
fontExtent
- TextExtent structure to hold the values.

RESULT
The extent is stored in 'fontExtent'.

EXAMPLE

SEE ALSO
TextExtent(), <graphics/text.h>

NOTES
Neither effects of algorithmic additions nor rp_TxSpacing is included when the bounding box and font size are calculated. Note that te_Width only will be negative when FPF_REVPATH is specified for the font; left moving characters are ignored considering the font width (right moving character when FPF_REVPATH is set), but affects the bounding box size.

BUGS

INTERNALS

HISTORY
21.06.1999 SDuvan
New function.