All Manuals > CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

draw-character

Function
Summary

Draws a character in a given graphics port.

Package

graphics-ports

Signature

draw-character port character x y &rest args &key block

Arguments

port

A graphics port.

character

A character.

x

A real number.

y

A real number.

block

A boolean.

args

graphics-state parameters passed as keyword arguments.

Description

The draw-character function draws the character character at ( x y ) on the port. The transform , foreground , background , operation , stipple , pattern , mask , mask-transform , font , text-mode and compositing-mode from the port 's graphics-state are all used, unless overridden in args .

( x y) specifies the leftmost point of the character's baseline.

block , if non- nil , causes the character to be drawn in a character cell filled with the port's graphics-state background .

Notes

The graphics-state parameter operation is not supported for drawing text on Windows.


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex