Beispiel #1
0
            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));
            }
Beispiel #2
0
            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));
 }
Beispiel #4
0
 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));
 }