Next Previous Up Top Contents Index

5.3 DUIM-Sheets Module

do-with-drawing-options

Generic function

Summary

Runs some code on a drawable in a given drawing context.

Signature

do-with-drawing-options drawable function #key brush pen text-style clipping-region transform => #rest values

Arguments

drawable
An instance of type type-union(<sheet>, <medium>).

function
An instance of type <function>.

brush
An instance of type <brush>.

pen
An instance of type <pen>.

text-style
An instance of type <text-style>.

clipping-region
An instance of type <region>.

transform
An instance of type <transform>.

Values

values
An instance of type <object>.

Library

duim-sheets

Module

duim-sheets

Description

Runs some code on a drawable in a given drawing context. This function is called by the macro with-drawing-options, and you should define new methods on it for new classes of drawable.

The function passed to do-with-drawing-options is the result of encapsulating the body passed to with-drawing-options as a stand-alone method.

The values returned are the values that are returned from with-drawing-options.

The various keywords specify a drawing context in which function is run.

See also

with-drawing-options, page 378


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index