|
| virtual eC_Int | GetAscender () const |
| |
| virtual eC_Int | GetDescender () const |
| |
| virtual void | GetGlyphMetrics (const eC_Char cChar, GlyphMetrics_t &kMetrics) |
| |
| virtual eC_Int | GetInternalLeading () const |
| |
| virtual void | LoadFont (const FontResource_t &eFontID) |
| |
| virtual void | RenderGlyphToScreen (const eC_Value &vX1, const eC_Value &vY1, CGUIImageData &kGlyphImage) |
| |
| virtual void | SetFont (const FontResource_t &eID) |
| |
| virtual eC_Bool | SetNOFFonts (const eC_UInt uiNOFFonts) |
| |
| virtual void | UnloadFont (const FontResource_t &eFontID) |
| |
| virtual eC_Int | GetAscender () const |
| |
| virtual eC_Int | GetDescender () const |
| |
| virtual void | GetGlyphMetrics (const eC_Char cChar, GlyphMetrics_t &kMetrics) |
| |
| virtual eC_Int | GetInternalLeading () const |
| |
| virtual void | RenderGlyphToScreen (const eC_Value &vX1, const eC_Value &vY1, CGUIImageData &kGlyphImage) |
| |
| virtual void | RenderTextInternal (const eC_String *lpString, const TextOperation_t &eOperation, const eC_Value &vX1, const eC_Value &vY1, eC_Value &vWidth, eC_Value &vHeight, eC_Value vWidthMax, eC_UInt &uiNumFittingChars) |
| |
| eC_Bool | SetNOFFonts (const eC_UInt uiNOFFonts) |
| |
| void | Text (const eC_Value &vX1, const eC_Value &vY1, const eC_String *const lpString) |
| |
|
| CFntWrap () |
| | Constructor.
|
| |
|
virtual | ~CFntWrap () |
| | Destructor.
|
| |
|
| enum | GUIFont_t { FNT_NORMAL = 0
, FNT_ITALIC = 1
, FNT_UNDERLINED = 2
, FNT_BOLD = 4
} |
| |
| enum | TextOperation_t { RENDER_TEXT
, GET_REQUIRED_SPACE
} |
| |
| void | LoadFont (const FontResource_t &eFontID) |
| |
| void | RequiredSpace (const eC_String *const pkText, eC_Value &vWidth, eC_Value &vHeight) |
| |
| void | SetFont (const FontResource_t &eID) |
| |
| void | UnloadFont (const FontResource_t &eFontID) |
| |
| void | ChangeFont (const FontResource_t &eFontID, const eC_String &pcPath, const eC_UInt uiFontSize, const GUIFont_t &eFontStyle) |
| |
| virtual void | FittingNumChars (const eC_String *const pkText, eC_Value vWidthMax, eC_UInt &uiNumChars, const eC_Bool &bStartAtEnd=false) |
| |
| virtual eC_Int | GetAscender () const |
| |
| virtual eC_Int | GetDescender () const |
| |
| virtual void | GetGlyphMetrics (const eC_Char cChar, GlyphMetrics_t &kMetrics) |
| |
| virtual eC_Int | GetInternalLeading () const |
| |
| virtual eC_UInt | GetNOFFonts () |
| |
| CGUICommonEnums::Rotation_t | GetRotation () const |
| |
| virtual eC_Value | GetTextXPosAdjustment (const CGUIText::HorAligned_t eHorAlignment) |
| |
| virtual eC_Value | GetTextYPosAdjustment (const CGUIText::VerAligned_t eVerAlignment) |
| |
| virtual void | LoadFont (const FontResource_t &eFontID) |
| |
| virtual void | RequiredSpace (const eC_String *const pkText, eC_Value &vWidth, eC_Value &vHeight)=0 |
| |
| virtual void | SetFont (const FontResource_t &eID) |
| |
| virtual void | SetFontSpacing (const eC_Float &fSpacing) |
| |
| virtual eC_Bool | SetNOFFonts (const eC_UInt uiNOFFonts) |
| |
| void | SetRotation (const CGUICommonEnums::Rotation_t &eRotation) |
| |
| virtual void | Text (const eC_Value &vX1, const eC_Value &vY1, const eC_String *const lpString)=0 |
| |
| virtual void | UnloadFont (const FontResource_t &eFontID) |
| |
|
eC_TArray< FontEntry_s > | m_kFontsHandles |
| | handles of all loaded fonts
|
| |
|
eC_UInt | m_uiCurrentFontIndex |
| | the currently used font-index
|
| |
|
FontResource_t | m_eCurFont |
| | Current font id.
|
| |
|
CGUICommonEnums::Rotation_t | m_eRotation |
| | Rotation.
|
| |
|
eC_UInt | m_uiNOFFonts |
| | Total number of fonts.
|
| |
|
eC_Value | m_vSpacing |
| | Font spacing, i.e the space between letters.
|
| |
Glyphlib font wrapper specialization using DAVE-API.
This is the cached GlyphLib implementation of the font wrapper for DAVE. It implements the text rendering using DAVE. For details see base class.
this version will use a glyph-cache for every font which is currently requested. if the font is compressed it will be uncompressed before storing the glyph into the cache.