IDWriteTextAnalyzer1::JustifyGlyphAdvances 方法 (dwrite_1.h)
语法
HRESULT JustifyGlyphAdvances(
FLOAT lineWidth,
UINT32 glyphCount,
DWRITE_JUSTIFICATION_OPPORTUNITY const *justificationOpportunities,
FLOAT const *glyphAdvances,
DWRITE_GLYPH_OFFSET const *glyphOffsets,
FLOAT *justifiedGlyphAdvances,
DWRITE_GLYPH_OFFSET *justifiedGlyphOffsets
);
参数
lineWidth
glyphCount
justificationOpportunities
glyphAdvances
glyphOffsets
justifiedGlyphAdvances
justifiedGlyphOffsets
要求
要求 | 值 |
---|---|
Header | dwrite_1.h |