IDWriteTextAnalyzer1::ApplyCharacterSpacing 方法 (dwrite_1.h)

语法

HRESULT ApplyCharacterSpacing(
  FLOAT                                 leadingSpacing,
  FLOAT                                 trailingSpacing,
  FLOAT                                 minimumAdvanceWidth,
  UINT32                                textLength,
  UINT32                                glyphCount,
  UINT16 const                          *clusterMap,
  FLOAT const                           *glyphAdvances,
  DWRITE_GLYPH_OFFSET const             *glyphOffsets,
  DWRITE_SHAPING_GLYPH_PROPERTIES const *glyphProperties,
  FLOAT                                 *modifiedGlyphAdvances,
  DWRITE_GLYPH_OFFSET                   *modifiedGlyphOffsets
);

参数

leadingSpacing

trailingSpacing

minimumAdvanceWidth

textLength

glyphCount

clusterMap

glyphAdvances

glyphOffsets

glyphProperties

modifiedGlyphAdvances

modifiedGlyphOffsets

要求

要求
Header dwrite_1.h