IVT
|
#include <BitmapFont.h>
Public Member Functions | |
CBitmapFont () | |
~CBitmapFont () | |
bool | LoadPCFFont (const char *pFilePath) |
void | DrawText (CByteImage *pImage, const char *pText, int x, int y, unsigned char r=0, unsigned char g=0, unsigned char b=0) const |
void | DrawText (CByteImage *pImage, const char *pText, int x, int y, Color::Color color) const |
int | GetFontHeight () const |
Definition at line 65 of file BitmapFont.h.
CBitmapFont::CBitmapFont | ( | ) |
Definition at line 152 of file BitmapFont.cpp.
CBitmapFont::~CBitmapFont | ( | ) |
Definition at line 160 of file BitmapFont.cpp.
void CBitmapFont::DrawText | ( | CByteImage * | pImage, |
const char * | pText, | ||
int | x, | ||
int | y, | ||
unsigned char | r = 0 , |
||
unsigned char | g = 0 , |
||
unsigned char | b = 0 |
||
) | const |
Definition at line 522 of file BitmapFont.cpp.
void CBitmapFont::DrawText | ( | CByteImage * | pImage, |
const char * | pText, | ||
int | x, | ||
int | y, | ||
Color::Color | color | ||
) | const |
Definition at line 552 of file BitmapFont.cpp.
|
inline |
Definition at line 81 of file BitmapFont.h.
bool CBitmapFont::LoadPCFFont | ( | const char * | pFilePath | ) |
Definition at line 299 of file BitmapFont.cpp.