All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

get-font-width Function

Summary

Returns the width of a font.

Package

graphics-ports

Signature

get-font-width port &optional font => width

Arguments
port
A graphics port.
font
A font.
Values
width
An integer.
Description

The function get-font-width returns the width in pixels of font.

font defaults to the font associated with port.

See also

13 Drawing - Graphics Ports


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44