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

NextPrevUpTopContentsIndex

port-string-height

Function
Summary

Returns the height of a string drawn to a given port in pixels.

Package

graphics-ports

Signature

port-string-height port string => height

Arguments

port

A graphics port.

string

A string.

Values

height

An integer.

Description

The function port-string-height returns the height in pixels of string when drawn to port . The font used is the font currently in the port's graphics-state.


CAPI User Guide and Reference Manual (Macintosh version) - 25 Feb 2015

NextPrevUpTopContentsIndex