2 writes to _idealOffsetUnRounded
PresentationCore (2)
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
356
_idealOffsetUnRounded
= paragraphWidth - idealWidthAtTrailing;
361
_idealOffsetUnRounded
= (int)Math.Round((paragraphWidth - idealWidthAtTrailing) * 0.5);
5 references to _idealOffsetUnRounded
PresentationCore (5)
MS\Internal\TextFormatting\SimpleTextLine.cs (5)
357
_offset = formatter.IdealToReal(
_idealOffsetUnRounded
, PixelsPerDip);
362
_offset = formatter.IdealToReal(
_idealOffsetUnRounded
, PixelsPerDip);
464
return _settings.Formatter.IdealToReal(idealAdvance +
_idealOffsetUnRounded
, PixelsPerDip);
585
int idealXRelativeToOrigin =
_idealOffsetUnRounded
;
645
int idealAdvance = TextFormatterImp.RealToIdeal(distance) -
_idealOffsetUnRounded
;