32 references to RealToIdeal
PresentationCore (32)
MS\Internal\TextFormatting\FullTextLine.cs (7)
348_textMinWidthAtTrailing += TextFormatterImp.RealToIdeal(collapsingSymbol.Width); 469int symbolIdealWidth = TextFormatterImp.RealToIdeal(symbol.Width); 676int symbolIdealWidth = TextFormatterImp.RealToIdeal(_collapsingSymbol.Width); 768TextFormatterImp.RealToIdeal(constraintWidth) 855return CharacterHitFromDistance(ParagraphUToLSLineU(TextFormatterImp.RealToIdeal(distance))); 879int rangeWidth = TextFormatterImp.RealToIdeal(_collapsingSymbol.Width); 1032return lineEndDistance - TextFormatterImp.RealToIdeal(_collapsingSymbol.Width);
MS\Internal\TextFormatting\FullTextState.cs (3)
189int incrementalTab = TextFormatterImp.RealToIdeal(pap.DefaultIncrementalTab); 247plsTbds[i].ur = TextFormatterImp.RealToIdeal(tab.Location); 272return Math.Min(0, TextFormatterImp.RealToIdeal(_markerStore.Pap.TextMarkerProperties.Offset) - _store.Settings.TextIndent);
MS\Internal\TextFormatting\LineServicesCallbacks.cs (5)
405lsLineProps.durLeft = TextFormatterImp.RealToIdeal(markerStore.Pap.TextMarkerProperties.Offset); 2402pobjDim.dur = TextFormatterImp.RealToIdeal(metrics.Width); 2403pobjDim.heightsRef.dvMultiLineHeight = TextFormatterImp.RealToIdeal(metrics.Height); 2404pobjDim.heightsRef.dvAscent = TextFormatterImp.RealToIdeal(metrics.Baseline); 2826return TextFormatterImp.RealToIdeal(i);
MS\Internal\TextFormatting\LineServicesRun.cs (3)
396nominalX = line.ParagraphWidth - u + TextFormatterImp.RealToIdeal(-vectorToOrigin.X + origin.X); 400nominalX = u + TextFormatterImp.RealToIdeal(vectorToOrigin.X + origin.X); 403nominalY = 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); 537TextFormatterImp.RealToIdeal(_paragraphWidth), 654int idealAdvance = TextFormatterImp.RealToIdeal(distance) - _idealOffsetUnRounded; 1634int idealIncrementalTab = TextFormatterImp.RealToIdeal(settings.Pap.DefaultIncrementalTab);
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
407RealToIdeal(paragraphWidth)
MS\Internal\TextFormatting\TextMetrics.cs (1)
154AppendCollapsingSymbolWidth(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)
190return TextFormatterImp.RealToIdeal(maxLineWidth);