共用方式為


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

規格需求

需求
標頭 dwrite_1.h