![[index]](../icons/index.gif)
Next: get-colour-map
Up: Class Reference
Previous: set-r
Superclass: wx:object%
A wx:bitmap% object is a pixel-based image, either
monochrome or colour. See also
ok?.
- (make-object wx:bitmap% bits width height depth) -> wx:bitmap% object
bits : list of chars
width : small integer
height : small integer
depth = 1 : small integer
Creates a bitmap from an array of pixel values. Only monochrome
bitmaps can be created with this form, so depth must
always be 1.
- (make-object wx:bitmap% width height depth) -> wx:bitmap% object
width : small integer
height : small integer
depth = -1 : small integer
Creates a new bitmap. If depth is negative, the display depth of
the screen is used. The initial content of the bitmap is undefined.
- (make-object wx:bitmap% name flags) -> wx:bitmap% object
name : string
flags : small integer
Creates a bitmap from a file or resource.
The meaning of name is determined by the flags parameter.
See
load-file for details.
Methods:
PLT