12 references to ToIdeal
PresentationCore (12)
MS\Internal\TextFormatting\FullTextLine.cs (1)
732TextFormatterImp.ToIdeal,
MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
496lsrun.Shapeable.GetAdvanceWidthsUnshaped(charString, stringLength, TextFormatterImp.ToIdeal, charWidths); 1714TextFormatterImp.ToIdeal, 2737TextFormatterImp.ToIdeal,
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1621TextFormatterImp.ToIdeal, 1697TextFormatterImp.ToIdeal,
MS\Internal\TextFormatting\TextFormatterImp.cs (2)
703int value = (int)Math.Round(i * ToIdeal); 724int value = (int)Math.Floor(i * ToIdeal);
MS\Internal\TextFormatting\TextStore.cs (4)
271_accNominalWidthSoFar += runInfo.GetRoughWidth(TextFormatterImp.ToIdeal); 1556double realToIdeal = TextFormatterImp.ToIdeal; 1700double realToIdeal = TextFormatterImp.ToIdeal; 1765TextFormatterImp.ToIdeal,