IDWriteTextAnalyzer1::ApplyCharacterSpacing method (dwrite_1.h)

Syntax

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
);

Parameters

leadingSpacing

trailingSpacing

minimumAdvanceWidth

textLength

glyphCount

clusterMap

glyphAdvances

glyphOffsets

glyphProperties

modifiedGlyphAdvances

modifiedGlyphOffsets

Requirements

Requirement Value
Header dwrite_1.h