Next Previous Up Top Contents Index

2 GP Reference Entries

with-pixmap-graphics-port

Macro

Summary

Binds a port to a new pixmap graphics port for the duration of the macro's code body.
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 ort

body

A body of Lisp code

Values

result

The return value of the last form executed in body

Description

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

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker