[]
        
(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)
Public Sub ApplyCharacterSpacing(leadingSpacing As Single, trailingSpacing As Single, minimumAdvanceWidth As Single, textLength As Integer, glyphCount As Integer, clusterMap As Short(), glyphAdvances As Single(), glyphOffsets As GlyphOffset(), glyphProperties As ShapingGlyphProperties(), modifiedGlyphAdvances As Single(), modifiedGlyphOffsets As GlyphOffset())
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