NextPrevUpTopContentsIndex

with-pixmap-graphics-port

Macro
Summary

Binds a port to a new pixmap graphics port for the duration of the macro's code body.

Package

graphics-ports

Signature

with-pixmap-graphics-port ( port pane width height &key
background collect relative clear )
&body body ) => result

Arguments

port

A graphic port.

pane

An output pane.

width

An integer.

height

An integer.

background

A color keyword.

collect

A boolean.

relative

A boolean.

clear

A list or t .

body

A body of Lisp code.

Values

result

The return value of the last form executed in body .

Description

The with-pixmap-graphics-port macro binds port to a new pixmap graphics-port. pane and the other arguments are passed to create-pixmap-port . The body is then evaluated. The port is destroyed when body returns.


LispWorks CAPI Reference Manual - 17 Mar 2008

NextPrevUpTopContentsIndex