nux-1.16.0
nux::FontTexture Class Reference
Inheritance diagram for nux::FontTexture:
nux::Object nux::Trackable nux::Introspectable

List of all members.

Public Member Functions

 NUX_DECLARE_OBJECT_TYPE (FontTexture, Object)
 FontTexture (const TCHAR *FontFile, NUX_FILE_LINE_PROTO)
 FontTexture (INT width, INT height, BYTE *Texture)
int GetLineHeight () const
int GetCharWidth (const TCHAR &c) const
int GetStringWidth (const NString &str) const
int GetCharStringWidth (const TCHAR *str) const
int GetStringWidth (const NString &str, int num_char_to_compute) const
int GetCharStringWidth (const TCHAR *str, int num_char_to_compute) const
int GetFontHeight ()
bool CursorPosToX (const NString &Str, int icp, bool fTrailing, int *pX)
bool XToCursorPosition (const NString &Str, int iX, t_u32 FirstVisibleCharIndex, int *piCh, int *piTrailing)
bool BMFontParseFNT (std::istream &Stream)
const CharsetGetFontInfo () const

Public Attributes

std::vector< BaseTexture * > TextureArray

Friends

class FontRenderer

Detailed Description

Definition at line 176 of file FontTexture.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends