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

NextPrevUpTopContentsIndex

get-font-average-width

Function
Summary

Returns the average width of a font in pixels.

Package

graphics-ports

Signature

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

Arguments

port

A CAPI pane.

font

A font.

Values

average-width

An integer.

Description

The function get-font-average-width returns the average-width in pixels of the font associated with port , or the font given.

See also

Drawing - Graphics Ports


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

NextPrevUpTopContentsIndex