[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.TextAnalyzer1.ApplyCharacterSpacing

ApplyCharacterSpacing Method

ApplyCharacterSpacing(float, float, float, int, int, short[], float[], GlyphOffset[], ShapingGlyphProperties[], float[], GlyphOffset[])

HRESULT IDWriteTextAnalyzer1::ApplyCharacterSpacing([In] float leadingSpacing,[In] float trailingSpacing,[In] float minimumAdvanceWidth,[In] unsigned int textLength,[In] unsigned int glyphCount,[In, Buffer] const unsigned short* clusterMap,[In, Buffer] const float* glyphAdvances,[In, Buffer] const DWRITE_GLYPH_OFFSET* glyphOffsets,[In, Buffer] const DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProperties,[Out, Buffer] float* modifiedGlyphAdvances,[Out, Buffer] DWRITE_GLYPH_OFFSET* modifiedGlyphOffsets)

Declaration
public void ApplyCharacterSpacing(float leadingSpacing, float trailingSpacing, float minimumAdvanceWidth, int textLength, int glyphCount, short[] clusterMap, float[] glyphAdvances, GlyphOffset[] glyphOffsets, ShapingGlyphProperties[] glyphProperties, float[] modifiedGlyphAdvances, GlyphOffset[] modifiedGlyphOffsets)
Parameters
Type Name Description
float leadingSpacing
float trailingSpacing
float minimumAdvanceWidth
int textLength
int glyphCount
short[] clusterMap
float[] glyphAdvances
GlyphOffset[] glyphOffsets
ShapingGlyphProperties[] glyphProperties
float[] modifiedGlyphAdvances
GlyphOffset[] modifiedGlyphOffsets