Next Prev Up Top Contents Index

compute-char-extents

Function
Summary

Returns the starting x coordinates of each of the characters in a string if the string was printed to a graphics port.

Signature

compute-char-extents port string &optional font => extents

Arguments

port

A graphics port

string

A string

font

A font

Values

extents

An array of integers

Description

Returns the extents of the characters in string in the font associated with port , or the font given. The extents are an array, one element per character, which gives the starting x coordinate of that character if the string was drawn to port .


LispWorks CAPI Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index