The function get-string-extent
returns the extent in pixels of the
string
in the font associated with
port
, or the
font
given.
Note: To compute the horizontal extents of each successive character in a string for a given port or font, use compute-char-extents.
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017