IDWriteTextAnalyzer1::GetJustifiedGlyphs 方法 (dwrite_1.h)
语法
HRESULT GetJustifiedGlyphs(
IDWriteFontFace *fontFace,
FLOAT fontEmSize,
DWRITE_SCRIPT_ANALYSIS scriptAnalysis,
UINT32 textLength,
UINT32 glyphCount,
UINT32 maxGlyphCount,
UINT16 const *clusterMap,
UINT16 const *glyphIndices,
FLOAT const *glyphAdvances,
FLOAT const *justifiedGlyphAdvances,
DWRITE_GLYPH_OFFSET const *justifiedGlyphOffsets,
DWRITE_SHAPING_GLYPH_PROPERTIES const *glyphProperties,
UINT32 *actualGlyphCount,
UINT16 *modifiedClusterMap,
UINT16 *modifiedGlyphIndices,
FLOAT *modifiedGlyphAdvances,
DWRITE_GLYPH_OFFSET *modifiedGlyphOffsets
);
参数
fontFace
fontEmSize
scriptAnalysis
textLength
glyphCount
maxGlyphCount
clusterMap
glyphIndices
glyphAdvances
justifiedGlyphAdvances
justifiedGlyphOffsets
glyphProperties
actualGlyphCount
modifiedClusterMap
modifiedGlyphIndices
modifiedGlyphAdvances
modifiedGlyphOffsets
要求
要求 | 值 |
---|---|
Header | dwrite_1.h |