Information for rendering one glyph in a shaped text sequence 更多...
#include <FontCache.h>
Public 属性 | |
| bool | bIsVisible = false |
| True if this is a visible glyph that should be drawn. 更多... | |
| TSharedPtr< FShapedGlyphFaceData > | FontFaceData |
| Provides access to the FreeType face for this glyph (not available publicly) | |
| uint32 | GlyphIndex = 0 |
| The index of this glyph in the FreeType face | |
| int8 | Kerning = 0 |
| The "kerning" between this glyph and the next one in the sequence 更多... | |
| uint8 | NumCharactersInGlyph = 0 |
| The number of source characters represented by this glyph This is typically 1, however will be greater for ligatures, or may be 0 if a single character produces multiple glyphs | |
| uint8 | NumGraphemeClustersInGlyph = 0 |
| The number of source grapheme clusters represented by this glyph This is typically 1, however will be greater for ligatures, or may be 0 if a single character produces multiple glyphs | |
| int32 | SourceIndex = 0 |
| The index of this glyph from the source text. 更多... | |
| TextBiDi::ETextDirection | TextDirection = TextBiDi::ETextDirection::LeftToRight |
| The reading direction of the text this glyph was shaped from | |
| int16 | XAdvance = 0 |
| The amount to advance in X before drawing the next glyph in the sequence | |
| int16 | XOffset = 0 |
| The offset to apply in X when drawing this glyph | |
| int16 | YAdvance = 0 |
| The amount to advance in Y before drawing the next glyph in the sequence | |
| int16 | YOffset = 0 |
| The offset to apply in Y when drawing this glyph | |
友元 | |
| class | FSlateFontCache |
Information for rendering one glyph in a shaped text sequence
| bool FShapedGlyphEntry::bIsVisible = false |
True if this is a visible glyph that should be drawn.
False if the glyph is invisible (eg, whitespace or a control code) and should skip drawing, but still include its advance amount.
| int8 FShapedGlyphEntry::Kerning = 0 |
The "kerning" between this glyph and the next one in the sequence
| int32 FShapedGlyphEntry::SourceIndex = 0 |
The index of this glyph from the source text.
The source indices may skip characters if the sequence contains ligatures, additionally, some characters produce multiple glyphs leading to duplicate source indices