XLE  v0.02.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RenderOverlays::Font Class Referenceabstract
Inheritance diagram for RenderOverlays::Font:
Inheritance graph
[legend]

Public Member Functions

int GetSize ()
 
const char * GetPath ()
 
virtual std::pair< const FontChar *, const FontTexture2D * > GetChar (ucs4 ch) const =0
 
float StringWidth (const ucs4 *text, int maxLen=-1, float spaceExtra=0.0f, bool outline=false)
 
int CharCountFromWidth (const ucs4 *text, float width, int maxLen=-1, float spaceExtra=0.0f, bool outline=false)
 
float StringEllipsis (const ucs4 *inText, ucs4 *outText, size_t outTextSize, float width, float spaceExtra=0.0f, bool outline=false)
 
float CharWidth (ucs4 ch, ucs4 prev) const
 
virtual FT_Face GetFace ()
 
virtual FT_Face GetFace (ucs4)
 
virtual void TouchFontChar (const FontChar *)
 
virtual float Descent () const =0
 
virtual float Ascent (bool includeAccent) const =0
 
virtual float LineHeight () const =0
 
virtual FontTexKind GetTexKind ()=0
 
virtual Float2 GetKerning (int prevGlyph, ucs4 ch, int *curGlyph) const =0
 
virtual intrusive_ptr< const FontGetSubFont (ucs4 ch) const
 
virtual bool IsMultiFontAdapter () const
 
- Public Member Functions inherited from Utility::RefCountedObject
signed AddRef () const
 
signed Release () const
 
signed GetRefCount () const
 

Protected Member Functions

virtual FontCharID CreateFontChar (ucs4 ch) const =0
 
virtual void DeleteFontChar (FontCharID fc)=0
 
virtual float GetKerning (ucs4 prev, ucs4 ch) const =0
 

Protected Attributes

char _path [MaxPath]
 
int _size
 

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