Generic function
Runs some code on a drawable in a given drawing context.
do-with-drawing-options drawable function #key brush pen text-style clipping-region transform => #rest values
type-union(<sheet>, <medium>).
<function>.
<brush>.
<pen>.
<text-style>.
<region>.
<transform>.
duim-sheets
duim-sheets
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.