32 references to RealToIdeal
PresentationCore (32)
MS\Internal\TextFormatting\FullTextLine.cs (7)
335_textMinWidthAtTrailing += TextFormatterImp.RealToIdeal(collapsingSymbol.Width); 456int symbolIdealWidth = TextFormatterImp.RealToIdeal(symbol.Width); 663int symbolIdealWidth = TextFormatterImp.RealToIdeal(_collapsingSymbol.Width); 755TextFormatterImp.RealToIdeal(constraintWidth) 842return CharacterHitFromDistance(ParagraphUToLSLineU(TextFormatterImp.RealToIdeal(distance))); 866int rangeWidth = TextFormatterImp.RealToIdeal(_collapsingSymbol.Width); 1019return lineEndDistance - TextFormatterImp.RealToIdeal(_collapsingSymbol.Width);
MS\Internal\TextFormatting\FullTextState.cs (3)
183int incrementalTab = TextFormatterImp.RealToIdeal(pap.DefaultIncrementalTab); 243plsTbds[i].ur = TextFormatterImp.RealToIdeal(tab.Location); 268return Math.Min(0, TextFormatterImp.RealToIdeal(_markerStore.Pap.TextMarkerProperties.Offset) - _store.Settings.TextIndent);
MS\Internal\TextFormatting\LineServicesCallbacks.cs (5)
375lsLineProps.durLeft = TextFormatterImp.RealToIdeal(markerStore.Pap.TextMarkerProperties.Offset); 2377dur = TextFormatterImp.RealToIdeal(metrics.Width) 2379pobjDim.heightsRef.dvMultiLineHeight = TextFormatterImp.RealToIdeal(metrics.Height); 2380pobjDim.heightsRef.dvAscent = TextFormatterImp.RealToIdeal(metrics.Baseline); 2802return TextFormatterImp.RealToIdeal(i);
MS\Internal\TextFormatting\LineServicesRun.cs (3)
382nominalX = line.ParagraphWidth - u + TextFormatterImp.RealToIdeal(-vectorToOrigin.X + origin.X); 386nominalX = u + TextFormatterImp.RealToIdeal(vectorToOrigin.X + origin.X); 389nominalY = 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); 528TextFormatterImp.RealToIdeal(_paragraphWidth), 645int idealAdvance = TextFormatterImp.RealToIdeal(distance) - _idealOffsetUnRounded; 1627int idealIncrementalTab = TextFormatterImp.RealToIdeal(settings.Pap.DefaultIncrementalTab);
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
384RealToIdeal(paragraphWidth)
MS\Internal\TextFormatting\TextMetrics.cs (1)
139AppendCollapsingSymbolWidth(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)
175return TextFormatterImp.RealToIdeal(maxLineWidth);