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


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex