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