[previous] [up] [next]     [index]
Next: set-pixel Up: bitmap-dc Previous: get-pixel

set-bitmap

Installs a bitmap into the DC, so that drawing operations on the bitmap DC draw to the bitmap. A bitmap is removed from a DC by setting the bitmap to #f.

A bitmap can be selected into at most one bitmap DC, and only when it is not used by a control (as a label) or in a pen% or brush% (as a stipple). If the argument to set-bitmap is already in use by another DC, a control, a pen%, or a brush%, an exn:application:mismatch exception is raised.



PLT