12 references to ToIdeal
PresentationCore (12)
MS\Internal\TextFormatting\FullTextLine.cs (1)
745TextFormatterImp.ToIdeal,
MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
526lsrun.Shapeable.GetAdvanceWidthsUnshaped(charString, stringLength, TextFormatterImp.ToIdeal, charWidths); 1742TextFormatterImp.ToIdeal, 2761TextFormatterImp.ToIdeal,
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1628TextFormatterImp.ToIdeal, 1702TextFormatterImp.ToIdeal,
MS\Internal\TextFormatting\TextFormatterImp.cs (2)
726int value = (int)Math.Round(i * ToIdeal); 747int value = (int)Math.Floor(i * ToIdeal);
MS\Internal\TextFormatting\TextStore.cs (4)
286_accNominalWidthSoFar += runInfo.GetRoughWidth(TextFormatterImp.ToIdeal); 1571double realToIdeal = TextFormatterImp.ToIdeal; 1715double realToIdeal = TextFormatterImp.ToIdeal; 1780TextFormatterImp.ToIdeal,