NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 13 of file ut_ResFont.h.
Public Member Functions | |
bool | SetResource (void *pBuffer) |
![]() | |
virtual int | GetWidth () const |
virtual int | GetHeight () const |
virtual int | GetAscent () const |
virtual int | GetDescent () const |
virtual int | GetBaselinePos () const |
virtual int | GetCellHeight () const |
virtual int | GetCellWidth () const |
virtual int | GetMaxCharWidth () const |
virtual Type | GetType () const |
virtual GXTexFmt | GetTextureFormat () const |
virtual int | GetLineFeed () const |
virtual CharWidths | GetDefaultCharWidths () const |
virtual void | SetDefaultCharWidths (const CharWidths &rWidths) |
virtual bool | SetAlternateChar (u16 ch) |
virtual void | SetLineFeed (int lf) |
virtual int | GetCharWidth (u16 ch) const |
virtual CharWidths | GetCharWidths (u16 ch) const |
virtual void | GetGlyph (Glyph *pGlyph, u16 ch) const |
virtual FontEncoding | GetEncoding () const |
![]() | |
void | InitReaderFunc (FontEncoding encode) |
CharStrmReader | GetCharStrmReader () const |
Static Private Member Functions | |
static FontInformation * | Rebuild (BinaryFileHeader *pHeader) |
Static Private Attributes | |
static const ulong | SIGNATURE = 'RFNT' |
static const ulong | SIGNATURE_UNPACKED = 'RFNU' |
static const ulong | SIGNATURE_FONTINFO = 'FINF' |
static const ulong | SIGNATURE_TEXGLYPH = 'TGLP' |
static const ulong | SIGNATURE_CHARWIDTH = 'CWDH' |
static const ulong | SIGNATURE_CHARMAP = 'CMAP' |
static const ulong | SIGNATURE_GLGR = 'GLGR' |
Additional Inherited Members | |
![]() | |
enum | Type { TYPE_NULL , TYPE_ROM , TYPE_RESOURCE , TYPE_PAIR } |
![]() | |
static const u16 | GLYPH_INDEX_NOT_FOUND = 0xFFFF |
![]() | |
bool | IsManaging (const void *pBuffer) const |
void | SetResourceBuffer (void *pBuffer, FontInformation *pInfo) |
|
staticprivate |
Definition at line 24 of file ut_ResFont.h.
|
staticprivate |
Definition at line 25 of file ut_ResFont.h.
|
staticprivate |
Definition at line 27 of file ut_ResFont.h.
|
staticprivate |
Definition at line 28 of file ut_ResFont.h.
|
staticprivate |
Definition at line 29 of file ut_ResFont.h.
|
staticprivate |
Definition at line 30 of file ut_ResFont.h.
|
staticprivate |
Definition at line 33 of file ut_ResFont.h.