![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FontCache.h>
Classes | |
| struct | FGlyphOffsetResult |
| struct | FSourceTextRange |
Information for rendering a shaped text sequence
|
inlineexplicit |
| FShapedGlyphSequence::FShapedGlyphSequence | ( | TArray< FShapedGlyphEntry > | InGlyphsToRender, |
| const int16 | InTextBaseline, | ||
| const uint16 | InMaxTextHeight, | ||
| const UObject * | InFontMaterial, | ||
| const bool | InMaterialIsStencil, | ||
| const FFontOutlineSettings & | InOutlineSettings, | ||
| const FSourceTextRange & | InSourceTextRange | ||
| ) |
| FShapedGlyphSequence::~FShapedGlyphSequence | ( | ) |
| void FShapedGlyphSequence::AddReferencedObjects | ( | FReferenceCollector & | Collector | ) |
| SIZE_T FShapedGlyphSequence::GetAllocatedSize | ( | ) | const |
Get the amount of memory allocated to this sequence
|
inline |
Get the material to use when rendering these glyphs
|
inline |
Get the font outline settings to use when rendering these glyphs
| float FShapedGlyphSequence::GetFontSkew | ( | ) | const |
Get the font skew applied when this glyph sequence was shaped
| FShapedGlyphSequence::FGlyphOffsetResult FShapedGlyphSequence::GetGlyphAtOffset | ( | FSlateFontCache & | InFontCache, |
| const int32 | InHorizontalOffset, | ||
| const int32 | InStartOffset = 0 |
||
| ) | const |
Get the information for the glyph at the specified position in pixels along the string horizontally
| TOptional< FShapedGlyphSequence::FGlyphOffsetResult > FShapedGlyphSequence::GetGlyphAtOffset | ( | FSlateFontCache & | InFontCache, |
| const int32 | InStartIndex, | ||
| const int32 | InEndIndex, | ||
| const int32 | InHorizontalOffset, | ||
| const int32 | InStartOffset = 0, |
||
| const bool | InIncludeKerningWithPrecedingGlyph = true |
||
| ) | const |
Get the information for the glyph at the specified position in pixels along the string horizontally
|
inline |
Get the array of glyphs in this sequence. This data will be ordered so that you can iterate and draw left-to-right, which means it will be backwards for right-to-left languages
Get the kerning value between the given entry and the next entry in the sequence
|
inline |
Get the maximum height of any glyph in the font we're using
| int32 FShapedGlyphSequence::GetMeasuredWidth | ( | ) | const |
Get the measured width of the entire shaped text
| TOptional< int32 > FShapedGlyphSequence::GetMeasuredWidth | ( | const int32 | InStartIndex, |
| const int32 | InEndIndex, | ||
| const bool | InIncludeKerningWithPrecedingGlyph = true |
||
| ) | const |
Get the measured width of the specified range of this shaped text
| FShapedGlyphSequencePtr FShapedGlyphSequence::GetSubSequence | ( | const int32 | InStartIndex, |
| const int32 | InEndIndex | ||
| ) | const |
Get a sub-sequence of the specified range
|
inline |
Get the baseline to use when drawing the glyphs in this sequence
| bool FShapedGlyphSequence::IsDirty | ( | ) | const |
Check to see whether this glyph sequence is dirty (ie, contains glyphs with invalid font pointers)
|
inline |
Get "Material is stencil" flag