8 references to EmSize
PresentationCore (8)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (2)
456
lstTextMetrics.dvAscent = (int)Math.Round(typeface.Baseline(store.Pap.
EmSize
, Constants.DefaultIdealToReal, store.Settings.TextSource.PixelsPerDip, fullText.TextFormattingMode));
457
lstTextMetrics.dvMultiLineHeight = (int)Math.Round(typeface.LineSpacing(store.Pap.
EmSize
, Constants.DefaultIdealToReal, store.Settings.TextSource.PixelsPerDip, fullText.TextFormattingMode));
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
335
_height = formatter.IdealToReal((int)Math.Round(pap.DefaultTypeface.LineSpacing(pap.
EmSize
, Constants.DefaultIdealToReal, PixelsPerDip, _settings.TextFormattingMode)), PixelsPerDip);
336
_baselineOffset = formatter.IdealToReal((int)Math.Round(pap.DefaultTypeface.Baseline(pap.
EmSize
, Constants.DefaultIdealToReal, PixelsPerDip, _settings.TextFormattingMode)), PixelsPerDip);
MS\Internal\TextFormatting\TextMetrics.cs (4)
207
* pap.DefaultTypeface.Baseline(pap.
EmSize
, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode)
208
/ pap.DefaultTypeface.LineSpacing(pap.
EmSize
, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode)
216
_textAscent = (int)Math.Round(pap.DefaultTypeface.Baseline(pap.
EmSize
, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode));
217
_textHeight = (int)Math.Round(pap.DefaultTypeface.LineSpacing(pap.
EmSize
, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode));