#include <charBitmap.h>
Public Types | |
typedef pvector< char > | Row |
typedef pvector< Row > | Block |
Public Member Functions | |
CharBitmap (int character, int width, int height, int hoff, int voff, double dx, double dy) | |
bool | paint (bool black, int num_pixels, int &repeat) |
Paints a string of same-color pixels into the bitmap. | |
int | get_width () const |
Returns the width of the character in pixels. | |
int | get_height () const |
Returns the height of the character in pixels. | |
Public Attributes | |
int | _character |
int | _hoff |
int | _voff |
double | _dx |
double | _dy |
Block | _block |
unsigned int | _x |
unsigned int | _y |
It stores the kerning information as well as the character's decoded bitmap.
Definition at line 41 of file charBitmap.h.
|
Definition at line 44 of file charBitmap.h. |
|
Definition at line 43 of file charBitmap.h. |
|
Definition at line 35 of file charBitmap.cxx. |
|
Returns the height of the character in pixels.
Definition at line 45 of file charBitmap.I. |
|
Returns the width of the character in pixels.
Definition at line 32 of file charBitmap.I. |
|
Paints a string of same-color pixels into the bitmap. This is called repeatedly by the rle decoder. Returns true when the last pixel has been painted, false if there is more to go. Definition at line 66 of file charBitmap.cxx. References _y. |
|
Definition at line 58 of file charBitmap.h. Referenced by get_width(). |
|
Definition at line 54 of file charBitmap.h. |
|
Definition at line 56 of file charBitmap.h. |
|
Definition at line 56 of file charBitmap.h. |
|
Definition at line 55 of file charBitmap.h. |
|
Definition at line 55 of file charBitmap.h. |
|
Definition at line 59 of file charBitmap.h. |
|
Definition at line 59 of file charBitmap.h. Referenced by paint(). |