32 references to RealToIdeal
PresentationCore (32)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (7)
371
_textMinWidthAtTrailing += TextFormatterImp.
RealToIdeal
(collapsingSymbol.Width);
492
int symbolIdealWidth = TextFormatterImp.
RealToIdeal
(symbol.Width);
709
int symbolIdealWidth = TextFormatterImp.
RealToIdeal
(_collapsingSymbol.Width);
801
TextFormatterImp.
RealToIdeal
(constraintWidth)
888
return CharacterHitFromDistance(ParagraphUToLSLineU(TextFormatterImp.
RealToIdeal
(distance)));
912
int rangeWidth = TextFormatterImp.
RealToIdeal
(_collapsingSymbol.Width);
1065
return lineEndDistance - TextFormatterImp.
RealToIdeal
(_collapsingSymbol.Width);
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (3)
205
int incrementalTab = TextFormatterImp.
RealToIdeal
(pap.DefaultIncrementalTab);
267
plsTbds[i].ur = TextFormatterImp.
RealToIdeal
(tab.Location);
292
return Math.Min(0, TextFormatterImp.
RealToIdeal
(_markerStore.Pap.TextMarkerProperties.Offset) - _store.Settings.TextIndent);
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (5)
437
lsLineProps.durLeft = TextFormatterImp.
RealToIdeal
(markerStore.Pap.TextMarkerProperties.Offset);
2563
pobjDim.dur = TextFormatterImp.
RealToIdeal
(metrics.Width);
2564
pobjDim.heightsRef.dvMultiLineHeight = TextFormatterImp.
RealToIdeal
(metrics.Height);
2565
pobjDim.heightsRef.dvAscent = TextFormatterImp.
RealToIdeal
(metrics.Baseline);
3001
return TextFormatterImp.
RealToIdeal
(i);
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (3)
411
nominalX = line.ParagraphWidth - u + TextFormatterImp.
RealToIdeal
(-vectorToOrigin.X + origin.X);
415
nominalX = u + TextFormatterImp.
RealToIdeal
(vectorToOrigin.X + origin.X);
418
nominalY = v + TextFormatterImp.
RealToIdeal
(origin.Y);
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (7)
322
_baselineOffset = formatter.IdealToReal(TextFormatterImp.
RealToIdeal
(realAscent), PixelsPerDip);
326
_height = formatter.IdealToReal(TextFormatterImp.
RealToIdeal
(realHeight), PixelsPerDip);
330
_height = formatter.IdealToReal(TextFormatterImp.
RealToIdeal
(realAscent) + TextFormatterImp.
RealToIdeal
(realDescent), PixelsPerDip);
544
TextFormatterImp.
RealToIdeal
(_paragraphWidth),
661
int idealAdvance = TextFormatterImp.
RealToIdeal
(distance) - _idealOffsetUnRounded;
1649
int idealIncrementalTab = TextFormatterImp.
RealToIdeal
(settings.Pap.DefaultIncrementalTab);
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (1)
409
RealToIdeal
(paragraphWidth)
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (1)
160
AppendCollapsingSymbolWidth(TextFormatterImp.
RealToIdeal
(collapsingSymbol.Width));
Core\CSharp\MS\Internal\TextFormatting\TextProperties.cs (4)
47
_emSize = TextFormatterImp.
RealToIdeal
(paragraphProperties.DefaultTextRunProperties.FontRenderingEmSize);
48
_indent = TextFormatterImp.
RealToIdeal
(paragraphProperties.Indent);
49
_paragraphIndent = TextFormatterImp.
RealToIdeal
(paragraphProperties.ParagraphIndent);
50
_height = TextFormatterImp.
RealToIdeal
(paragraphProperties.LineHeight);
Core\CSharp\System\Windows\Media\TextFormatting\TextParagraphCache.cs (1)
210
return TextFormatterImp.
RealToIdeal
(maxLineWidth);