32 references to RealToIdeal
PresentationCore (32)
MS\Internal\TextFormatting\FullTextLine.cs (7)
348
_textMinWidthAtTrailing += TextFormatterImp.
RealToIdeal
(collapsingSymbol.Width);
469
int symbolIdealWidth = TextFormatterImp.
RealToIdeal
(symbol.Width);
676
int symbolIdealWidth = TextFormatterImp.
RealToIdeal
(_collapsingSymbol.Width);
768
TextFormatterImp.
RealToIdeal
(constraintWidth)
855
return CharacterHitFromDistance(ParagraphUToLSLineU(TextFormatterImp.
RealToIdeal
(distance)));
879
int rangeWidth = TextFormatterImp.
RealToIdeal
(_collapsingSymbol.Width);
1032
return lineEndDistance - TextFormatterImp.
RealToIdeal
(_collapsingSymbol.Width);
MS\Internal\TextFormatting\FullTextState.cs (3)
189
int incrementalTab = TextFormatterImp.
RealToIdeal
(pap.DefaultIncrementalTab);
247
plsTbds[i].ur = TextFormatterImp.
RealToIdeal
(tab.Location);
272
return Math.Min(0, TextFormatterImp.
RealToIdeal
(_markerStore.Pap.TextMarkerProperties.Offset) - _store.Settings.TextIndent);
MS\Internal\TextFormatting\LineServicesCallbacks.cs (5)
405
lsLineProps.durLeft = TextFormatterImp.
RealToIdeal
(markerStore.Pap.TextMarkerProperties.Offset);
2402
pobjDim.dur = TextFormatterImp.
RealToIdeal
(metrics.Width);
2403
pobjDim.heightsRef.dvMultiLineHeight = TextFormatterImp.
RealToIdeal
(metrics.Height);
2404
pobjDim.heightsRef.dvAscent = TextFormatterImp.
RealToIdeal
(metrics.Baseline);
2826
return TextFormatterImp.
RealToIdeal
(i);
MS\Internal\TextFormatting\LineServicesRun.cs (3)
396
nominalX = line.ParagraphWidth - u + TextFormatterImp.
RealToIdeal
(-vectorToOrigin.X + origin.X);
400
nominalX = u + TextFormatterImp.
RealToIdeal
(vectorToOrigin.X + origin.X);
403
nominalY = v + TextFormatterImp.
RealToIdeal
(origin.Y);
MS\Internal\TextFormatting\SimpleTextLine.cs (7)
318
_baselineOffset = formatter.IdealToReal(TextFormatterImp.
RealToIdeal
(realAscent), PixelsPerDip);
322
_height = formatter.IdealToReal(TextFormatterImp.
RealToIdeal
(realHeight), PixelsPerDip);
326
_height = formatter.IdealToReal(TextFormatterImp.
RealToIdeal
(realAscent) + TextFormatterImp.
RealToIdeal
(realDescent), PixelsPerDip);
537
TextFormatterImp.
RealToIdeal
(_paragraphWidth),
654
int idealAdvance = TextFormatterImp.
RealToIdeal
(distance) - _idealOffsetUnRounded;
1634
int idealIncrementalTab = TextFormatterImp.
RealToIdeal
(settings.Pap.DefaultIncrementalTab);
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
407
RealToIdeal
(paragraphWidth)
MS\Internal\TextFormatting\TextMetrics.cs (1)
154
AppendCollapsingSymbolWidth(TextFormatterImp.
RealToIdeal
(collapsingSymbol.Width));
MS\Internal\TextFormatting\TextProperties.cs (4)
45
_emSize = TextFormatterImp.
RealToIdeal
(paragraphProperties.DefaultTextRunProperties.FontRenderingEmSize);
46
_indent = TextFormatterImp.
RealToIdeal
(paragraphProperties.Indent);
47
_paragraphIndent = TextFormatterImp.
RealToIdeal
(paragraphProperties.ParagraphIndent);
48
_height = TextFormatterImp.
RealToIdeal
(paragraphProperties.LineHeight);
System\Windows\Media\textformatting\TextParagraphCache.cs (1)
190
return TextFormatterImp.
RealToIdeal
(maxLineWidth);