11 references to DefaultIdealToReal
PresentationCore (11)
Core\CSharp\MS\Internal\TextFormatting\LineServices.cs (1)
1562public const double RealInfiniteWidth = IdealInfiniteWidth * DefaultIdealToReal;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (2)
492lstTextMetrics.dvAscent = (int)Math.Round(typeface.Baseline(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.PixelsPerDip, fullText.TextFormattingMode)); 493lstTextMetrics.dvMultiLineHeight = (int)Math.Round(typeface.LineSpacing(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.PixelsPerDip, fullText.TextFormattingMode));
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\TextFormatterImp.cs (2)
728return i * Constants.DefaultIdealToReal; 745value = Math.Max(value, Constants.DefaultIdealToReal);
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));