Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Text/ShapedTextCache.h |
Include |
#include "Framework/Text/ShapedTextCache.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Framework/Text/ShapedTextCache.cpp |
namespace ShapedTextCacheUtil
{
int8 ShapedTextCacheUtil::GetShapedGlyphKerning
(
const FShapedTextCacheRef & InShapedTextCache,
const FCachedShapedTextKey & InRunKey,
const int32 InGlyphIndex,
const TCHAR * InText
)
}
Get the kerning between two shaped glyphs
The kerning
Parameter |
Description |
---|---|
InShapedTextCache |
The shaped text cache to use |
InRunKey |
The key identifying the cached shaped text for the run |
InGlyphIndex |
The index of the glyph to get the kerning for (will get it between the given glyph, and it's next glyph) |
InText |
The text to shape if we can't find the shaped text in the cache. (InGlyphIndex, InGlyphIndex+1) will be the range used |