All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS 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 function draw-character 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 true, 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.

See also

graphics-state
Drawing - Graphics Ports


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex