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