Next Previous Up Top Contents Index

2 GP Reference Entries

get-character-extent

Function

Summary

Returns the extent of a character in pixels.
Signature

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

Arguments

port

A graphics port

character

A character

font

A font

Values

left

An integer

top

An integer

right

An integer

bottom

An integer

Description

Theget-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 - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker