![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateTextShaper.h>
Public Member Functions | |
| FSlateTextShaper (FFreeTypeCacheDirectory *InFTCacheDirectory, FCompositeFontCache *InCompositeFontCache, FSlateFontRenderer *InFontRenderer, FSlateFontCache *InFontCache) | |
| FShapedGlyphSequenceRef | ShapeBidirectionalText (const TCHAR *InText, const int32 InTextStart, const int32 InTextLen, const FSlateFontInfo &InFontInfo, const float InFontScale, const TextBiDi::ETextDirection InBaseDirection, const ETextShapingMethod TextShapingMethod) |
| FShapedGlyphSequenceRef | ShapeUnidirectionalText (const TCHAR *InText, const int32 InTextStart, const int32 InTextLen, const FSlateFontInfo &InFontInfo, const float InFontScale, const TextBiDi::ETextDirection InTextDirection, const ETextShapingMethod TextShapingMethod) |
| void | FlushCache () |
Bridging point between HarfBuzz and the Slate font system. This class, via the instances you pass to its constructor, knows how to correctly shape a Slate font.
| FSlateTextShaper::FSlateTextShaper | ( | FFreeTypeCacheDirectory * | InFTCacheDirectory, |
| FCompositeFontCache * | InCompositeFontCache, | ||
| FSlateFontRenderer * | InFontRenderer, | ||
| FSlateFontCache * | InFontCache | ||
| ) |
| void FSlateTextShaper::FlushCache | ( | ) |
Get rid of the harfbuzz font cache, wich store the harfbuzz fonts.
| FShapedGlyphSequenceRef FSlateTextShaper::ShapeBidirectionalText | ( | const TCHAR * | InText, |
| const int32 | InTextStart, | ||
| const int32 | InTextLen, | ||
| const FSlateFontInfo & | InFontInfo, | ||
| const float | InFontScale, | ||
| const TextBiDi::ETextDirection | InBaseDirection, | ||
| const ETextShapingMethod | TextShapingMethod | ||
| ) |
| FShapedGlyphSequenceRef FSlateTextShaper::ShapeUnidirectionalText | ( | const TCHAR * | InText, |
| const int32 | InTextStart, | ||
| const int32 | InTextLen, | ||
| const FSlateFontInfo & | InFontInfo, | ||
| const float | InFontScale, | ||
| const TextBiDi::ETextDirection | InTextDirection, | ||
| const ETextShapingMethod | TextShapingMethod | ||
| ) |