All Manuals > CAPI Reference Manual > 2 GP 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 get-font-average-width function returns the average-width in pixels of the font associated with port , or the font given.


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex