Manages a potentially large list of non-shaped characters Uses a directly indexed by TCHAR array until space runs out and then maps the rest to conserve memory Every character indexed by TCHAR could potentially cost a lot of memory of a lot of empty entries are created because characters being used are far apart
更多...
#include <FontCache.h>
|
| int16 | GetBaseline () const |
| | Returns the baseline for the font used by this character 更多...
|
| |
| FCharacterEntry | GetCharacter (TCHAR Character, const EFontFallback MaxFontFallback) |
| | Gets data about how to render and measure a character Caching and atlasing it if needed 更多...
|
| |
| int8 | GetKerning (const FCharacterEntry &FirstCharacterEntry, const FCharacterEntry &SecondCharacterEntry) |
| | Gets a kerning value for a pair of character entries 更多...
|
| |
| int8 | GetKerning (TCHAR FirstChar, TCHAR SecondChar, const EFontFallback MaxFontFallback) |
| | Gets a kerning value for a pair of characters 更多...
|
| |
| uint16 | GetMaxHeight () const |
| |
Manages a potentially large list of non-shaped characters Uses a directly indexed by TCHAR array until space runs out and then maps the rest to conserve memory Every character indexed by TCHAR could potentially cost a lot of memory of a lot of empty entries are created because characters being used are far apart
◆ GetBaseline()
| int16 FCharacterList::GetBaseline |
( |
| ) |
const |
Returns the baseline for the font used by this character
- 返回
- The offset from the bottom of the max character height to the baseline. Be aware that the value will be negative.
◆ GetCharacter()
| FCharacterEntry FCharacterList::GetCharacter |
( |
TCHAR |
Character, |
|
|
const EFontFallback |
MaxFontFallback |
|
) |
| |
Gets data about how to render and measure a character Caching and atlasing it if needed
- 参数
-
| Character | The character to get |
| MaxFontFallback | The maximum fallback level that can be used when resolving glyphs |
- 返回
- Data about the character
◆ GetKerning() [1/2]
Gets a kerning value for a pair of character entries
- 参数
-
| FirstCharacterEntry | The first character entry in the pair |
| SecondCharacterEntry | The second character entry in the pair |
- 返回
- The kerning value
◆ GetKerning() [2/2]
| int8 FCharacterList::GetKerning |
( |
TCHAR |
FirstChar, |
|
|
TCHAR |
SecondChar, |
|
|
const EFontFallback |
MaxFontFallback |
|
) |
| |
Gets a kerning value for a pair of characters
- 参数
-
| FirstChar | The first character in the pair |
| SecondChar | The second character in the pair |
| MaxFontFallback | The maximum fallback level that can be used when resolving glyphs |
- 返回
- The kerning value
◆ GetMaxHeight()
| uint16 FCharacterList::GetMaxHeight |
( |
| ) |
const |
- 返回
- The global max height for any character in this font
该类的文档由以下文件生成: