Plugin-specific version of the bitmap class. More...
#include <bitmap.h>
Public Member Functions | |
Bitmap (int width, int height) | |
Constructor. | |
Bitmap (int width, int height, tColor frameColor, tColor backgroundColor) | |
Constructor for a bitmap with frame. | |
void | text (const char *text, bool centered=true) |
Write a text into the bitmap. | |
void | frame (int x1, int y1, int x2, int y2, tColor frameColor) |
Draw a frame into the bitmap. |
Plugin-specific version of the bitmap class.
Definition at line 36 of file bitmap.h.
Bitmap::Bitmap | ( | int | width, | |
int | height | |||
) |
Constructor.
Definition at line 33 of file bitmap.cpp.
Bitmap::Bitmap | ( | int | width, | |
int | height, | |||
tColor | frameColor, | |||
tColor | backgroundColor | |||
) |
void Bitmap::frame | ( | int | x1, | |
int | y1, | |||
int | x2, | |||
int | y2, | |||
tColor | frameColor | |||
) |
Draw a frame into the bitmap.
Definition at line 65 of file bitmap.cpp.
void Bitmap::text | ( | const char * | text, | |
bool | centered = true | |||
) |
Write a text into the bitmap.
Definition at line 48 of file bitmap.cpp.
References frame().
Referenced by SudokuPlugin::Menu::paint().