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