#include </home/zeitlin/src/wx/github/interface/wx/bitmap.h>
Inheritance diagram for wxMask:This class encapsulates a monochrome mask bitmap, where the masked area is black and the unmasked area is white.
When associated with a bitmap and drawn in a device context, the unmasked area of the bitmap will be drawn, and the masked area will not be drawn.
Public Member Functions | |
| wxMask () | |
| Default constructor. | |
| wxMask (const wxBitmap &bitmap, int index) | |
| Constructs a mask from a bitmap and a palette index that indicates the background. | |
| wxMask (const wxBitmap &bitmap) | |
| Constructs a mask from a monochrome bitmap. | |
| wxMask (const wxBitmap &bitmap, const wxColour &colour) | |
| Constructs a mask from a bitmap and a colour that indicates the background. | |
| virtual | ~wxMask () |
| Destroys the wxMask object and the underlying bitmap data. | |
| bool | Create (const wxBitmap &bitmap, int index) |
| Constructs a mask from a bitmap and a palette index that indicates the background. | |
| bool | Create (const wxBitmap &bitmap) |
| Constructs a mask from a monochrome bitmap. | |
| bool | Create (const wxBitmap &bitmap, const wxColour &colour) |
| Constructs a mask from a bitmap and a colour that indicates the background. | |
| wxMask::wxMask | ( | ) |
Default constructor.
| wxMask::wxMask | ( | const wxBitmap & | bitmap, |
| int | index | ||
| ) |
Constructs a mask from a bitmap and a palette index that indicates the background.
Not yet implemented for GTK.
| bitmap | A valid bitmap. |
| index | Index into a palette, specifying the transparency colour. |
| wxMask::wxMask | ( | const wxBitmap & | bitmap | ) |
Constructs a mask from a monochrome bitmap.
Constructs a mask from a bitmap and a colour that indicates the background.
| virtual wxMask::~wxMask | ( | ) | [virtual] |
Destroys the wxMask object and the underlying bitmap data.
| bool wxMask::Create | ( | const wxBitmap & | bitmap, |
| int | index | ||
| ) |
Constructs a mask from a bitmap and a palette index that indicates the background.
Not yet implemented for GTK.
| bitmap | A valid bitmap. |
| index | Index into a palette, specifying the transparency colour. |
Constructs a mask from a bitmap and a colour that indicates the background.
| bool wxMask::Create | ( | const wxBitmap & | bitmap | ) |
Constructs a mask from a monochrome bitmap.