KFont Class Reference

Collaboration diagram for KFont:
[legend]
List of all members.

Public Member Functions

 KFont (KRender *pRender, char *pFontName=NULL)
 ~KFont ()
bool Init ()
void End ()
KPt GetTextSize (char *pText, float FontSize=1.0f)
KPt GetCharSize (char Car, float FontSize=1.0f)
void Print (KPt &Pos, char *pText, float FontSize=1.0f, KFONTALIGN FontAlign=KFA_LEFT, KCOLOR Color=KRGB_WHITE)

Protected Member Functions

bool CheckAlphaPixel (KTexture *pTexture, u32 x, u32 y, u8 *pBits)
void GenerateCropTable ()

Protected Attributes

KRenderm_pRender
float m_RatioX
float m_SpaceX
KSHADER m_hShader
char * m_pShaderName
KRect m_CropTable [256]

Detailed Description

Definition at line 38 of file Font.h.


The documentation for this class was generated from the following files:
Generated on Sun Mar 25 20:02:31 2007 for Zythum Project by  doxygen 1.5.1-p1