12 references to ToIdeal
PresentationCore (12)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
778TextFormatterImp.ToIdeal,
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
567lsrun.Shapeable.GetAdvanceWidthsUnshaped(charString, stringLength, TextFormatterImp.ToIdeal, charWidths); 1850TextFormatterImp.ToIdeal, 2936TextFormatterImp.ToIdeal,
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1643TextFormatterImp.ToIdeal, 1717TextFormatterImp.ToIdeal,
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (2)
756int value = (int)Math.Round(i * ToIdeal); 777int value = (int)Math.Floor(i * ToIdeal);
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (4)
290_accNominalWidthSoFar += runInfo.GetRoughWidth(TextFormatterImp.ToIdeal); 1582double realToIdeal = TextFormatterImp.ToIdeal; 1726double realToIdeal = TextFormatterImp.ToIdeal; 1788TextFormatterImp.ToIdeal,