Next Previous Up Top Contents Index

6.6 DUIM-Graphics Module

with-output-to-pixmap

Macro

Summary

Executes a body of code, returning the results to a pixmap.

Macro call

with-output-to-pixmap (medium, #rest options) body end => pixmap

Arguments

medium
An instance of type <pixmap-medium>.

options
An instance of type <object>.

body
An instance of type <object>.

Values

pixmap
An instance of type <pixmap>.

Library

duim-graphics

Module

duim-graphics

Description

Executes a body of code, returning the results to a pixmap.Binds medium to a pixmap medium, that is, a medium that does output to a pixmap, and then evaluates body in that context. All the output done to medium inside of body is drawn on the pixmap stream. The pixmap medium supports the medium output protocol, including all of the graphics functions.

The returned value is a pixmap that can be drawn onto medium using copy-from-pixmap.

See also

do-with-output-to-pixmap, page 413

<pixmap-medium>, page 445


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index