protected override void DoApply(TextLayout layout, TextRange range) { SharpDX.DirectWrite.TextLayout1 tl = new SharpDX.DirectWrite.TextLayout1(layout.ComPointer); tl.SetCharacterSpacing(this.lead, this.trail, this.minw, new SharpDX.DirectWrite.TextRange(range.StartPosition, range.Length)); }
protected override void DoApply(TextLayout layout, TextRange range) { SharpDX.DirectWrite.TextLayout1 tl = new SharpDX.DirectWrite.TextLayout1(layout.ComPointer); tl.SetCharacterSpacing(this.lead, this.trail, this.minw, new SharpDX.DirectWrite.TextRange(range.StartPosition, range.Length)); }
protected override void DoApply(TextLayout layout, TextRange range) { SharpDX.DirectWrite.TextLayout1 tl = new SharpDX.DirectWrite.TextLayout1(layout.ComPointer); tl.SetPairKerning(true, new SharpDX.DirectWrite.TextRange(range.StartPosition, range.Length)); }
protected override void DoApply(TextLayout layout, TextRange range) { SharpDX.DirectWrite.TextLayout1 tl = new SharpDX.DirectWrite.TextLayout1(layout.ComPointer); tl.SetPairKerning(true, new SharpDX.DirectWrite.TextRange(range.StartPosition, range.Length)); }