2 writes to _idealOffsetUnRounded
PresentationCore (2)
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
365
_idealOffsetUnRounded
= paragraphWidth - idealWidthAtTrailing;
370
_idealOffsetUnRounded
= (int)Math.Round((paragraphWidth - idealWidthAtTrailing) * 0.5);
5 references to _idealOffsetUnRounded
PresentationCore (5)
MS\Internal\TextFormatting\SimpleTextLine.cs (5)
366
_offset = formatter.IdealToReal(
_idealOffsetUnRounded
, PixelsPerDip);
371
_offset = formatter.IdealToReal(
_idealOffsetUnRounded
, PixelsPerDip);
473
return _settings.Formatter.IdealToReal(idealAdvance +
_idealOffsetUnRounded
, PixelsPerDip);
594
int idealXRelativeToOrigin =
_idealOffsetUnRounded
;
654
int idealAdvance = TextFormatterImp.RealToIdeal(distance) -
_idealOffsetUnRounded
;