#include <GUIFontTTFGL.h>
|
CBaseTexture * | 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 |
|
void | AddReference () |
|
void | RemoveReference () |
|
float | GetTextWidthInternal (vecText::const_iterator start, vecText::const_iterator end) |
|
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 (float x, float y, const std::vector< UTILS::Color > &colors, const vecText &text, uint32_t alignment, float maxPixelWidth, bool scrolling) |
|
Character * | GetCharacter (character_t letter) |
|
bool | CacheCharacter (wchar_t letter, uint32_t style, Character *ch) |
|
void | RenderCharacter (float posX, float posY, const Character *ch, UTILS::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. More...
|
|
§ CGUIFontTTFGL()
CGUIFontTTFGL::CGUIFontTTFGL |
( |
const std::string & |
strFileName | ) |
|
|
explicit |
§ ~CGUIFontTTFGL()
CGUIFontTTFGL::~CGUIFontTTFGL |
( |
void |
| ) |
|
|
override |
§ CopyCharToTexture()
bool CGUIFontTTFGL::CopyCharToTexture |
( |
FT_BitmapGlyph |
bitGlyph, |
|
|
unsigned int |
x1, |
|
|
unsigned int |
y1, |
|
|
unsigned int |
x2, |
|
|
unsigned int |
y2 |
|
) |
| |
|
overrideprotectedvirtual |
§ CreateStaticVertexBuffers()
void CGUIFontTTFGL::CreateStaticVertexBuffers |
( |
void |
| ) |
|
|
static |
§ CreateVertexBuffer()
§ DeleteHardwareTexture()
void CGUIFontTTFGL::DeleteHardwareTexture |
( |
| ) |
|
|
overrideprotectedvirtual |
§ DestroyStaticVertexBuffers()
void CGUIFontTTFGL::DestroyStaticVertexBuffers |
( |
void |
| ) |
|
|
static |
§ DestroyVertexBuffer()
§ FirstBegin()
bool CGUIFontTTFGL::FirstBegin |
( |
| ) |
|
|
overridevirtual |
§ LastEnd()
void CGUIFontTTFGL::LastEnd |
( |
| ) |
|
|
overridevirtual |
§ ReallocTexture()
CBaseTexture * CGUIFontTTFGL::ReallocTexture |
( |
unsigned int & |
newHeight | ) |
|
|
overrideprotectedvirtual |
§ m_elementArrayHandle
GLuint CGUIFontTTFGL::m_elementArrayHandle |
|
staticprotected |
The documentation for this class was generated from the following files: