#include <TextureFont.h>
|
| | TextureFont (const FontConfig &config, Graphics::Renderer *renderer, float scale=1.0f) |
| |
| | ~TextureFont () |
| |
| void | RenderBuffer (Graphics::VertexBuffer *vb, const Color &color=Color::WHITE) |
| |
| void | MeasureString (const std::string &str, float &w, float &h) |
| |
| void | MeasureCharacterPos (const std::string &str, int charIndex, float &x, float &y) |
| |
| int | PickCharacter (const std::string &str, float mouseX, float mouseY) |
| |
| void | PopulateString (Graphics::VertexArray &va, const std::string &str, const float x, const float y, const Color &color=Color::WHITE) |
| |
| Color | PopulateMarkup (Graphics::VertexArray &va, const std::string &str, const float x, const float y, const Color &color=Color::WHITE) |
| |
| Graphics::VertexBuffer * | CreateVertexBuffer (const Graphics::VertexArray &va, const bool bIsStatic) const |
| |
| Graphics::VertexBuffer * | CreateVertexBuffer (const Graphics::VertexArray &va, const std::string &str, const bool bIsStatic) |
| |
| Graphics::VertexBuffer * | GetCachedVertexBuffer (const std::string &str) |
| |
| float | GetHeight () const |
| |
| float | GetDescender () const |
| |
| const Glyph & | GetGlyph (Uint32 ch) |
| |
| RefCountedPtr< Graphics::Texture > | GetTexture () const |
| |
| Graphics::Material * | GetMaterial () const |
| |
| | RefCounted () |
| |
| virtual | ~RefCounted () |
| |
| void | IncRefCount () const |
| |
| void | DecRefCount () const |
| |
| int | GetRefCount () const |
| |
| virtual | ~LuaWrappable () |
| |
◆ TextureFont()
◆ ~TextureFont()
| Text::TextureFont::~TextureFont |
( |
| ) |
|
◆ ClearGlyphCount()
| static void Text::TextureFont::ClearGlyphCount |
( |
| ) |
|
|
inlinestatic |
◆ CreateVertexBuffer() [1/2]
◆ CreateVertexBuffer() [2/2]
◆ GetCachedVertexBuffer()
◆ GetDescender()
| float Text::TextureFont::GetDescender |
( |
| ) |
const |
|
inline |
◆ GetGlyph()
◆ GetGlyphCount()
| static int Text::TextureFont::GetGlyphCount |
( |
| ) |
|
|
inlinestatic |
◆ GetHeight()
| float Text::TextureFont::GetHeight |
( |
| ) |
const |
|
inline |
◆ GetMaterial()
◆ GetTexture()
◆ MeasureCharacterPos()
| void Text::TextureFont::MeasureCharacterPos |
( |
const std::string & |
str, |
|
|
int |
charIndex, |
|
|
float & |
x, |
|
|
float & |
y |
|
) |
| |
◆ MeasureString()
| void Text::TextureFont::MeasureString |
( |
const std::string & |
str, |
|
|
float & |
w, |
|
|
float & |
h |
|
) |
| |
◆ PickCharacter()
| int Text::TextureFont::PickCharacter |
( |
const std::string & |
str, |
|
|
float |
mouseX, |
|
|
float |
mouseY |
|
) |
| |
◆ PopulateMarkup()
◆ PopulateString()
◆ RenderBuffer()
The documentation for this class was generated from the following files: