NextPrevUpTopContentsIndex

draw-string

Function
Summary

Draws a string with the baseline positioned at a given point.

Package

graphics-ports

Signature

draw-string port string x y &rest args &key start end block

Arguments

port

A graphics port.

string

A string.

x

A real number.

y

A real number.

start

A real number.

end

A real number.

block

A boolean.

args

General graphics port drawing arguments.

Description

Draws the string with the baseline starting at ( x y ). The transform , foreground , background , operation , stipple , pattern , mask , mask-x , mask-y and font from the port's graphics state (see make-graphics-state) are all used. start and end specify which elements of the string to draw. block, if non- nil , causes each character to be drawn in a character cell filled with the port's graphics state background .

By default, start is 0.

Note: The Graphics State slot operation is not supported for drawing text on Windows.


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex