XLE  v0.02.0
Public Member Functions | Friends | List of all members
RenderOverlays::FTFontGroup Class Reference
Inheritance diagram for RenderOverlays::FTFontGroup:
Inheritance graph
[legend]

Public Member Functions

 FTFontGroup (FontTexKind kind=FTK_GENERAL)
 
bool CheckMyFace (FT_Face face)
 
intrusive_ptr< FTFontFindFTFontByChar (ucs4 ch) const
 
int GetFTFontCount ()
 
bool LoadDefaultFTFont (FTFontNameInfo &info, int size)
 
void LoadSubFTFont (FTFontNameInfo &info, int size)
 
virtual std::pair< const FontChar *, const FontTexture2D * > GetChar (ucs4 ch) const
 
virtual FT_Face GetFace ()
 
virtual FT_Face GetFace (ucs4 ch)
 
virtual float Descent ()
 
virtual float Ascent (bool includeAccent) const
 
virtual float LineHeight () const
 
virtual Float2 GetKerning (int prevGlyph, ucs4 ch, int *curGlyph) const
 
virtual bool Init (const FontDef &def)
 
virtual intrusive_ptr< const FontGetSubFont (ucs4 ch) const
 
virtual bool IsMultiFontAdapter () const
 
- Public Member Functions inherited from RenderOverlays::FTFont
 FTFont (FontTexKind kind=FTK_GENERAL)
 
FontTexKind GetTexKind ()
 
virtual float Descent () const
 
virtual void TouchFontChar (const FontChar *fc)
 
- Public Member Functions inherited from RenderOverlays::Font
int GetSize ()
 
const char * GetPath ()
 
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
 
- Public Member Functions inherited from Utility::RefCountedObject
signed AddRef () const
 
signed Release () const
 
signed GetRefCount () const
 

Friends

void GarbageCollectFTFontSystem ()
 
void CheckResetFTFontSystem ()
 

Additional Inherited Members

- Protected Member Functions inherited from RenderOverlays::FTFont
virtual FontCharID CreateFontChar (ucs4 ch) const
 
virtual void DeleteFontChar (FontCharID fc)
 
- Protected Attributes inherited from RenderOverlays::FTFont
int _ascend
 
FT_Face _face
 
unsigned char * _pBuffer
 
FontTexKind _texKind
 
- Protected Attributes inherited from RenderOverlays::Font
char _path [MaxPath]
 
int _size
 

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