#include <charPlacement.h>
Public Member Functions | |
CharPlacement (const CharBitmap *bm, int x, int y, int width, int height) | |
bool | intersects (int x, int y, int x_size, int y_size) const |
Returns true if the particular position this char has been assigned to overlaps the rectangle whose top left corner is at x, y and whose size is given by x_size, y_size, or false otherwise. | |
Public Attributes | |
const CharBitmap * | _bm |
int | _x |
int | _y |
int | _width |
int | _height |
An array of these is built up to lay out all the characters in the bitmap, and then when the layout is suitable, the bitmap is generated.
Definition at line 44 of file charPlacement.h.
|
Definition at line 31 of file charPlacement.I. |
|
Returns true if the particular position this char has been assigned to overlaps the rectangle whose top left corner is at x, y and whose size is given by x_size, y_size, or false otherwise.
Definition at line 41 of file charPlacement.cxx. |
|
Definition at line 51 of file charPlacement.h. |
|
Definition at line 53 of file charPlacement.h. Referenced by CharLayout::place_character(). |
|
Definition at line 53 of file charPlacement.h. Referenced by CharLayout::place_character(). |
|
Definition at line 52 of file charPlacement.h. Referenced by CharLayout::place_character(). |
|
Definition at line 52 of file charPlacement.h. Referenced by CharLayout::place_character(). |