|
| IGraphics * | Graphics () |
| |
| FT_Face | GetFaceByName (const char *pFamilyName) |
| |
| bool | IncreaseGlyphMapSize () |
| |
| void | UploadTextures () |
| |
| void | UnloadTextures () |
| |
| FT_UInt | GetCharGlyph (int Chr, FT_Face *pFace, bool AllowReplacementCharacter) |
| |
| void | Grow (const unsigned char *pIn, unsigned char *pOut, int w, int h, int OutlineCount) const |
| |
| int | AdjustOutlineThicknessToFontSize (int OutlineThickness, int FontSize) const |
| |
| void | UploadGlyph (int TextureIndex, int PosX, int PosY, size_t Width, size_t Height, uint8_t *pData) |
| |
| bool | FitGlyph (size_t Width, size_t Height, int &PosX, int &PosY) |
| |
| bool | RenderGlyph (SGlyph &Glyph) |
| |
◆ anonymous enum
| Enumerator |
|---|
| FONT_TEXTURE_FILL | |
| FONT_TEXTURE_OUTLINE | |
| NUM_FONT_TEXTURES | |
◆ CGlyphMap()
| CGlyphMap::CGlyphMap |
( |
IGraphics * |
pGraphics | ) |
|
|
inline |
◆ ~CGlyphMap()
| CGlyphMap::~CGlyphMap |
( |
| ) |
|
|
inline |
◆ AddFace()
◆ AddFallbackFaceByName()
| bool CGlyphMap::AddFallbackFaceByName |
( |
const char * |
pFamilyName | ) |
|
|
inline |
◆ AdjustOutlineThicknessToFontSize()
| int CGlyphMap::AdjustOutlineThicknessToFontSize |
( |
int |
OutlineThickness, |
|
|
int |
FontSize |
|
) |
| const |
|
inlineprivate |
◆ Clear()
| void CGlyphMap::Clear |
( |
| ) |
|
|
inline |
◆ DefaultFace()
| FT_Face CGlyphMap::DefaultFace |
( |
| ) |
const |
|
inline |
◆ FitGlyph()
◆ GetCharGlyph()
◆ GetFaceByName()
◆ GetGlyph()
◆ Graphics()
◆ Grow()
◆ IconFace()
| FT_Face CGlyphMap::IconFace |
( |
| ) |
const |
|
inline |
◆ IncreaseGlyphMapSize()
| bool CGlyphMap::IncreaseGlyphMapSize |
( |
| ) |
|
|
inlineprivate |
◆ Kerning()
◆ RenderGlyph()
◆ SetDefaultFaceByName()
◆ SetFontPreset()
◆ SetIconFaceByName()
◆ SetVariantFaceByName()
◆ Texture()
◆ TextureDimension()
| size_t CGlyphMap::TextureDimension |
( |
| ) |
const |
|
inline |
◆ UnloadTextures()
| void CGlyphMap::UnloadTextures |
( |
| ) |
|
|
inlineprivate |
◆ UploadEntityLayerText()
◆ UploadGlyph()
◆ UploadTextures()
| void CGlyphMap::UploadTextures |
( |
| ) |
|
|
inlineprivate |
◆ INITIAL_ATLAS_DIMENSION
The initial dimension of the atlas textures. Results in 1 MB of memory being used per texture.
◆ m_apTextureData
◆ m_aTextures
◆ m_DefaultFace
◆ m_Glyphs
◆ m_IconFace
◆ m_pGraphics
◆ m_SelectedFace
◆ m_TextureAtlas
| CAtlas CGlyphMap::m_TextureAtlas |
|
private |
◆ m_TextureDimension
◆ m_VariantFace
◆ m_vFallbackFaces
| std::vector<FT_Face> CGlyphMap::m_vFallbackFaces |
|
private |
◆ m_vFtFaces
| std::vector<FT_Face> CGlyphMap::m_vFtFaces |
|
private |
◆ MAX_FONT_SIZE
The maximum supported font size.
◆ MAXIMUM_ATLAS_DIMENSION
| constexpr int CGlyphMap::MAXIMUM_ATLAS_DIMENSION = 16 * 1024 |
|
staticconstexprprivate |
The maximum dimension of the atlas textures. Results in 256 MB of memory being used per texture.
◆ MIN_FONT_SIZE
The minimum supported font size.
◆ REPLACEMENT_CHARACTER
White square to indicate missing glyph.
The documentation for this class was generated from the following file: