Next Previous Up Top Contents Index

6.6 DUIM-Graphics Module

do-with-output-to-pixmap

Generic function

Summary

Returns a pixmap for the specified medium.

Signature

do-with-output-to-pixmap medium continuation #key width height clear? => pixmap

Arguments

medium
An instance of type <medium>.

continuation
An instance of type <function>.

width
An instance of type <integer>.

height
An instance of type <integer>.

clear?
An instance of type <boolean>. Default value: #t.

Values

pixmap
An instance of type <pixmap>.

Library

duim-graphics

Module

duim-graphics

Description

Returns a pixmap for the specified medium. This function is called by with-output-to-pixmap and returns the pixmap that is operated on. If you are subclassing <medium>, you must define new methods on this function.

The width and height are integers that give the width and height of the pixmap. If they are unsupplied, the result pixmap will be large enough to contain all of the output done by the body of code executed by with-output-to-pixmap.

See also

with-output-to-pixmap, page 447


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index