Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 4 - Font Manager / Font Manager Reference
Routines / Favoring Outline Fonts Over Bitmapped Fonts


IsOutline

The IsOutline function determines if the Font Manager chooses an outline font for the current graphics port to meet the specified scaling factors.

FUNCTION IsOutline (numer: Point; denom: Point): Boolean;
numer
The numerators of the vertical and horizontal scaling factors. The numer parameter is of type Point, and contains two integers: the first is the numerator of the ratio for vertical scaling, and the second is the numerator of the ratio for horizontal scaling.
denom
The denominators of the vertical and horizontal scaling factors. The denom parameter is of type Point, and contains two integers: the first is the denominator of the ratio for vertical scaling, and the second is the denominator of the ratio for horizontal scaling.
DESCRIPTION
The IsOutline function returns TRUE if the Font Manager would choose an outline font for the current graphics port. The Font Manager uses the font scaling factors specified in the numer and denom parameters, as well as the current preference (as set by the SetOutlinePreferred procedure) to make a decision as to which font to use.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the IsOutline function are
Trap macroRoutine selector
_FontDispatch$7000


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996