6 references to Baseline
PresentationCore (6)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
437
lstTextMetrics.dvAscent = (int)Math.Round(typeface.
Baseline
(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.PixelsPerDip, fullText.TextFormattingMode));
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
327
_baselineOffset = formatter.IdealToReal((int)Math.Round(pap.DefaultTypeface.
Baseline
(pap.EmSize, Constants.DefaultIdealToReal, PixelsPerDip, _settings.TextFormattingMode)), PixelsPerDip);
1345
return TextRun.Properties.Typeface.
Baseline
(TextRun.Properties.FontRenderingEmSize, 1, _pixelsPerDip, _textFormatterImp.TextFormattingMode);
MS\Internal\TextFormatting\TextMetrics.cs (2)
192
* pap.DefaultTypeface.
Baseline
(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode)
201
_textAscent = (int)Math.Round(pap.DefaultTypeface.
Baseline
(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode));
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
494
return _properties.Typeface.
Baseline
(_properties.FontRenderingEmSize, 1, _properties.PixelsPerDip, _textFormattingMode);