7 references to DefaultTypeface
PresentationCore (7)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
491
Typeface typeface = store.Pap.
DefaultTypeface
;
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
339
_height = formatter.IdealToReal((int)Math.Round(pap.
DefaultTypeface
.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal, PixelsPerDip, _settings.TextFormattingMode)), PixelsPerDip);
340
_baselineOffset = formatter.IdealToReal((int)Math.Round(pap.
DefaultTypeface
.Baseline(pap.EmSize, Constants.DefaultIdealToReal, PixelsPerDip, _settings.TextFormattingMode)), PixelsPerDip);
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (4)
213
* pap.
DefaultTypeface
.Baseline(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode)
214
/ pap.
DefaultTypeface
.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode)
222
_textAscent = (int)Math.Round(pap.
DefaultTypeface
.Baseline(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode));
223
_textHeight = (int)Math.Round(pap.
DefaultTypeface
.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode));