LispWorks CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

get-char-width

Function
Summary

Returns the width of a character in pixels.

Package

graphics-ports

Signature

get-char-width port character font => width

Arguments

port

A CAPI pane.

character

A character.

font

A font.

Values

width

An integer.

Description

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


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex