IVT
CBitmapFont Class Reference

#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
 

Detailed Description

Definition at line 65 of file BitmapFont.h.

Constructor & Destructor Documentation

CBitmapFont::CBitmapFont ( )

Definition at line 152 of file BitmapFont.cpp.

CBitmapFont::~CBitmapFont ( )

Definition at line 160 of file BitmapFont.cpp.

Member Function Documentation

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.

int CBitmapFont::GetFontHeight ( ) const
inline

Definition at line 81 of file BitmapFont.h.

bool CBitmapFont::LoadPCFFont ( const char *  pFilePath)

Definition at line 299 of file BitmapFont.cpp.


The documentation for this class was generated from the following files: