
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.
- (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 (usually monochrome) bitmap from an array of pixel values.
On some platforms, only monochrome bitmaps can be created with this
form.
- (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.
- (make-object wx:bitmap% name flags) -> wx:bitmap% object
name : string
flags = wx:const-bitmap-type-default : 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