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
規格需求
需求 | 值 |
---|---|
標頭 | dwrite_1.h |