Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Fonts
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
Include | #include "Fonts/FontCache.h" |
Syntax
class FShapedGlyphSequence
Remarks
Information for rendering a shaped text sequence
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FShapedGlyphSequence
(
TArray< FShapedGlyphEntry > InGlyphsToRender, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
|
![]() ![]() |
SIZE_T | Get the amount of memory allocated to this sequence | |
![]() ![]() |
const UObject * | Get the material to use when rendering these glyphs | |
![]() ![]() |
const FFontOutlineSettings & | Get the font outline settings to use when rendering these glyphs | |
![]() ![]() |
float | GetFontSkew () |
Get the font skew applied when this glyph sequence was shaped |
![]() ![]() |
TOptional< FGlyphOffsetResult > | GetGlyphAtOffset
(
FSlateFontCache& InFontCache, |
Get the information for the glyph at the specified position in pixels along the string horizontally |
![]() ![]() |
FGlyphOffsetResult | GetGlyphAtOffset
(
FSlateFontCache& InFontCache, |
Get the information for the glyph at the specified position in pixels along the string horizontally |
![]() ![]() |
const TArray< FShapedGlyphEntry > & | Get the array of glyphs in this sequence. | |
![]() ![]() |
TOptional< int8 > | GetKerning
(
const int32 InIndex |
Get the kerning value between the given entry and the next entry in the sequence |
![]() ![]() |
uint16 | Get the maximum height of any glyph in the font we're using | |
![]() ![]() |
int32 | Get the measured width of the entire shaped text | |
![]() ![]() |
TOptional< int32 > | GetMeasuredWidth
(
const int32 InStartIndex, |
Get the measured width of the specified range of this shaped text |
![]() ![]() |
FShapedGlyphSequencePtr | GetSubSequence
(
const int32 InStartIndex, |
Get a sub-sequence of the specified range |
![]() ![]() |
int16 | Get the baseline to use when drawing the glyphs in this sequence | |
![]() ![]() |
bool | IsDirty () |
Check to see whether this glyph sequence is dirty (ie, contains glyphs with invalid font pointers) |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FGlyphOffsetResult | Return data used by GetGlyphAtOffset | |
![]() |
FSourceTextRange |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EEnumerateGlyphsResult | Enumerate all of the glyphs within the given source index range (enumerates either visually or logically) |
Typedefs
Name | Description |
---|---|
FForEachShapedGlyphEntryCallback |