wxBitmap
generated from ../src/mod_gui/misc/bitmap.cppThis class encapsulates the concept of a platform-dependent bitmap, either monochrome or colour. See wxIcon and wxBitmapType
Constants
Constructor
wxBitmap
wxBitmap()
wxBitmap(Name,
Type)
| Name | Type | Default | Description |
|---|---|---|---|
| Name | String | Filename | |
| Type | Integer | The type of the bitmap. |
Constructs a new wxBitmap object. See wxBitmapType
Properties
Methods
create
create(Width,
Height,
Depth = -1) : Boolean
| Name | Type | Default | Description |
|---|---|---|---|
| Width | Integer | The width of the bitmap in pixels. | |
| Height | Integer | The height of the bitmap in pixels. | |
| Depth | Integer | -1 | The depth of the bitmap in pixels. When omitted (or a value -1) , the screen depth is used. |
Creates a fresh bitmap.
loadFile
loadFile(Name,
Type) : Boolean
| Name | Type | Default | Description |
|---|---|---|---|
| Name | String | The name of the file. | |
| Type | Integer | The type of the bitmap. |
Loads a bitmap from a file.

© 2002 - 2007 Franky Braem.