32 references to RealToIdeal
PresentationCore (32)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (7)
371_textMinWidthAtTrailing += TextFormatterImp.RealToIdeal(collapsingSymbol.Width); 492int symbolIdealWidth = TextFormatterImp.RealToIdeal(symbol.Width); 709int symbolIdealWidth = TextFormatterImp.RealToIdeal(_collapsingSymbol.Width); 801TextFormatterImp.RealToIdeal(constraintWidth) 888return CharacterHitFromDistance(ParagraphUToLSLineU(TextFormatterImp.RealToIdeal(distance))); 912int rangeWidth = TextFormatterImp.RealToIdeal(_collapsingSymbol.Width); 1065return lineEndDistance - TextFormatterImp.RealToIdeal(_collapsingSymbol.Width);
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (3)
205int incrementalTab = TextFormatterImp.RealToIdeal(pap.DefaultIncrementalTab); 267plsTbds[i].ur = TextFormatterImp.RealToIdeal(tab.Location); 292return Math.Min(0, TextFormatterImp.RealToIdeal(_markerStore.Pap.TextMarkerProperties.Offset) - _store.Settings.TextIndent);
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (5)
437lsLineProps.durLeft = TextFormatterImp.RealToIdeal(markerStore.Pap.TextMarkerProperties.Offset); 2563pobjDim.dur = TextFormatterImp.RealToIdeal(metrics.Width); 2564pobjDim.heightsRef.dvMultiLineHeight = TextFormatterImp.RealToIdeal(metrics.Height); 2565pobjDim.heightsRef.dvAscent = TextFormatterImp.RealToIdeal(metrics.Baseline); 3001return TextFormatterImp.RealToIdeal(i);
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (3)
411nominalX = line.ParagraphWidth - u + TextFormatterImp.RealToIdeal(-vectorToOrigin.X + origin.X); 415nominalX = u + TextFormatterImp.RealToIdeal(vectorToOrigin.X + origin.X); 418nominalY = 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); 544TextFormatterImp.RealToIdeal(_paragraphWidth), 661int idealAdvance = TextFormatterImp.RealToIdeal(distance) - _idealOffsetUnRounded; 1649int idealIncrementalTab = TextFormatterImp.RealToIdeal(settings.Pap.DefaultIncrementalTab);
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (1)
409RealToIdeal(paragraphWidth)
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (1)
160AppendCollapsingSymbolWidth(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)
210return TextFormatterImp.RealToIdeal(maxLineWidth);