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

NextPrevUpTopContentsIndex

get-character-extent

Function
Summary

Returns the extent of a character in pixels.

Package

graphics-ports

Signature

get-character-extent port character &optional font => left , top , right , bottom

Arguments

port

A CAPI pane.

character

A character.

font

A font.

Values

left

An integer.

top

An integer.

right

An integer.

bottom

An integer.

Description

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


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

NextPrevUpTopContentsIndex