12 references to ToIdeal
PresentationCore (12)
MS\Internal\TextFormatting\FullTextLine.cs (1)
731TextFormatterImp.ToIdeal,
MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
495lsrun.Shapeable.GetAdvanceWidthsUnshaped(charString, stringLength, TextFormatterImp.ToIdeal, charWidths); 1713TextFormatterImp.ToIdeal, 2736TextFormatterImp.ToIdeal,
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1614TextFormatterImp.ToIdeal, 1690TextFormatterImp.ToIdeal,
MS\Internal\TextFormatting\TextFormatterImp.cs (2)
702int value = (int)Math.Round(i * ToIdeal); 723int value = (int)Math.Floor(i * ToIdeal);
MS\Internal\TextFormatting\TextStore.cs (4)
270_accNominalWidthSoFar += runInfo.GetRoughWidth(TextFormatterImp.ToIdeal); 1555double realToIdeal = TextFormatterImp.ToIdeal; 1699double realToIdeal = TextFormatterImp.ToIdeal; 1764TextFormatterImp.ToIdeal,