32 references to RealToIdeal
PresentationCore (32)
MS\Internal\TextFormatting\FullTextLine.cs (7)
335
_textMinWidthAtTrailing += TextFormatterImp.
RealToIdeal
(collapsingSymbol.Width);
456
int symbolIdealWidth = TextFormatterImp.
RealToIdeal
(symbol.Width);
663
int symbolIdealWidth = TextFormatterImp.
RealToIdeal
(_collapsingSymbol.Width);
755
TextFormatterImp.
RealToIdeal
(constraintWidth)
842
return CharacterHitFromDistance(ParagraphUToLSLineU(TextFormatterImp.
RealToIdeal
(distance)));
866
int rangeWidth = TextFormatterImp.
RealToIdeal
(_collapsingSymbol.Width);
1019
return lineEndDistance - TextFormatterImp.
RealToIdeal
(_collapsingSymbol.Width);
MS\Internal\TextFormatting\FullTextState.cs (3)
183
int incrementalTab = TextFormatterImp.
RealToIdeal
(pap.DefaultIncrementalTab);
243
plsTbds[i].ur = TextFormatterImp.
RealToIdeal
(tab.Location);
268
return Math.Min(0, TextFormatterImp.
RealToIdeal
(_markerStore.Pap.TextMarkerProperties.Offset) - _store.Settings.TextIndent);
MS\Internal\TextFormatting\LineServicesCallbacks.cs (5)
375
lsLineProps.durLeft = TextFormatterImp.
RealToIdeal
(markerStore.Pap.TextMarkerProperties.Offset);
2377
dur = TextFormatterImp.
RealToIdeal
(metrics.Width)
2379
pobjDim.heightsRef.dvMultiLineHeight = TextFormatterImp.
RealToIdeal
(metrics.Height);
2380
pobjDim.heightsRef.dvAscent = TextFormatterImp.
RealToIdeal
(metrics.Baseline);
2802
return TextFormatterImp.
RealToIdeal
(i);
MS\Internal\TextFormatting\LineServicesRun.cs (3)
382
nominalX = line.ParagraphWidth - u + TextFormatterImp.
RealToIdeal
(-vectorToOrigin.X + origin.X);
386
nominalX = u + TextFormatterImp.
RealToIdeal
(vectorToOrigin.X + origin.X);
389
nominalY = v + TextFormatterImp.
RealToIdeal
(origin.Y);
MS\Internal\TextFormatting\SimpleTextLine.cs (7)
309
_baselineOffset = formatter.IdealToReal(TextFormatterImp.
RealToIdeal
(realAscent), PixelsPerDip);
313
_height = formatter.IdealToReal(TextFormatterImp.
RealToIdeal
(realHeight), PixelsPerDip);
317
_height = formatter.IdealToReal(TextFormatterImp.
RealToIdeal
(realAscent) + TextFormatterImp.
RealToIdeal
(realDescent), PixelsPerDip);
528
TextFormatterImp.
RealToIdeal
(_paragraphWidth),
645
int idealAdvance = TextFormatterImp.
RealToIdeal
(distance) - _idealOffsetUnRounded;
1627
int idealIncrementalTab = TextFormatterImp.
RealToIdeal
(settings.Pap.DefaultIncrementalTab);
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
384
RealToIdeal
(paragraphWidth)
MS\Internal\TextFormatting\TextMetrics.cs (1)
139
AppendCollapsingSymbolWidth(TextFormatterImp.
RealToIdeal
(collapsingSymbol.Width));
MS\Internal\TextFormatting\TextProperties.cs (4)
39
_emSize = TextFormatterImp.
RealToIdeal
(paragraphProperties.DefaultTextRunProperties.FontRenderingEmSize);
40
_indent = TextFormatterImp.
RealToIdeal
(paragraphProperties.Indent);
41
_paragraphIndent = TextFormatterImp.
RealToIdeal
(paragraphProperties.ParagraphIndent);
42
_height = TextFormatterImp.
RealToIdeal
(paragraphProperties.LineHeight);
System\Windows\Media\textformatting\TextParagraphCache.cs (1)
175
return TextFormatterImp.
RealToIdeal
(maxLineWidth);