When drawing recorded actions, the target drawing context’s pen, brush, font, text, background, text background, and text foreground do not affect the recorded actions. The target drawing context’s transformation, alpha, and clipping region compose with settings in the recorded actions (so that, for example, a recorded action to set the clipping region actually intersects the region with the drawing context’s clipping region at the time that the recorded commands are replayed). After recoded commands are replayed, all settings in the target drawing context, such as its clipping region or current font, are as before the replay.
constructor
(new record-dc% [ [width width] [height height] [record-ink? record-ink?]]) → (is-a?/c record-dc%) width : (>=/c 0) = 640 height : (>=/c 0) = 480 record-ink? : any/c = #f
If record-ink? is true, then the get-ink-extent method can report the bounds of a recorded drawing.
Changed in version 1.24 of package draw-lib: Added the record-ink? argument.
method
(send a-record-dc get-recorded-datum) → any/c
The get-recorded-procedure method can be more efficient than composing get-recorded-datum and recorded-datum->procedure.
If ink record is not enabled, the exn:fail exception is raised.
Added in version 1.24 of package draw-lib.