|
std::unique_ptr< CTexture > | ReallocTexture (unsigned int &newHeight) override |
|
bool | CopyCharToTexture (FT_BitmapGlyph bitGlyph, unsigned int x1, unsigned int y1, unsigned int x2, unsigned int y2) override |
|
void | DeleteHardwareTexture () override |
|
| CGUIFontTTF (const std::string &fontIdent) |
|
void | AddReference () |
|
void | RemoveReference () |
|
std::vector< Glyph > | GetHarfBuzzShapedGlyphs (const vecText &text) |
|
float | GetTextWidthInternal (const vecText &text) |
|
float | GetTextWidthInternal (const vecText &text, const std::vector< Glyph > &glyph) |
|
float | GetCharWidthInternal (character_t ch) |
|
float | GetTextHeight (float lineSpacing, int numLines) const |
|
float | GetTextBaseLine () const |
|
float | GetLineHeight (float lineSpacing) const |
|
float | GetFontHeight () const |
|
void | DrawTextInternal (CGraphicContext &context, float x, float y, const std::vector< KODI::UTILS::COLOR::Color > &colors, const vecText &text, uint32_t alignment, float maxPixelWidth, bool scrolling, float dx=0.0f, float dy=0.0f) |
|
Character * | GetCharacter (character_t letter, FT_UInt glyphIndex) |
|
bool | CacheCharacter (FT_UInt glyphIndex, uint32_t style, Character *ch) |
|
void | RenderCharacter (CGraphicContext &context, float posX, float posY, const Character *ch, KODI::UTILS::COLOR::Color color, bool roundX, std::vector< SVertex > &vertices) |
|
void | ClearCharacterCache () |
|
void | SetGlyphStrength (FT_GlyphSlot slot, int glyphStrength) |
|
unsigned int | GetTextureLineHeight () const |
| the height of each line in the texture. Accounts for spacing between lines to avoid characters overlapping.
|
|
unsigned int | GetMaxFontHeight () const |
|
void | Register () |
|
void | Unregister () |
|