42 #ifndef _BITMAP_FONT_H_ 43 #define _BITMAP_FONT_H_ 78 void DrawText(
CByteImage *pImage,
const char *pText,
int x,
int y,
unsigned char r = 0,
unsigned char g = 0,
unsigned char b = 0)
const;
98 void Init(
int nCharacters);
117 #endif // _BITMAP_FONT_H_
bool GetCharacterInformation(unsigned char encoding, int *&pCoordinatesX, int *&pCoordinatesY, int &nCoordinates, int &nWidth) const
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 SetGlyph(int nIndex, int *pCoordinatesX, int *pCoordinatesY, int nCoordinates, int nWidth, int nAscent, int nDescent)
BitmapCharacter * m_pCharacters
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
bool LoadPCFFont(const char *pFilePath)
void Init(int nCharacters)
GLdouble GLdouble GLdouble r
void AddEncoding(int nEncoding, int nIndex)
int GetFontHeight() const