2 writes to _pixelsPerDip
PresentationCore (2)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
195
_metrics.
_pixelsPerDip
= pixelsPerDip;
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (1)
151
_pixelsPerDip
= store.Settings.TextSource.PixelsPerDip;
11 references to _pixelsPerDip
PresentationCore (11)
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (11)
213
* pap.DefaultTypeface.Baseline(pap.EmSize, Constants.DefaultIdealToReal,
_pixelsPerDip
, fullText.TextFormattingMode)
214
/ pap.DefaultTypeface.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal,
_pixelsPerDip
, fullText.TextFormattingMode)
222
_textAscent = (int)Math.Round(pap.DefaultTypeface.Baseline(pap.EmSize, Constants.DefaultIdealToReal,
_pixelsPerDip
, fullText.TextFormattingMode));
223
_textHeight = (int)Math.Round(pap.DefaultTypeface.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal,
_pixelsPerDip
, fullText.TextFormattingMode));
383
get { return _formatter.IdealToReal(_paragraphToText - _textStart,
_pixelsPerDip
); }
392
get { return _formatter.IdealToReal(_textWidthAtTrailing + _textStart,
_pixelsPerDip
); }
401
get { return _formatter.IdealToReal(_textWidth + _textStart,
_pixelsPerDip
); }
410
get { return _formatter.IdealToReal(_height,
_pixelsPerDip
); }
420
get { return _formatter.IdealToReal(_textHeight,
_pixelsPerDip
); }
429
get { return _formatter.IdealToReal(_baselineOffset,
_pixelsPerDip
); }
439
get { return _formatter.IdealToReal(_textAscent,
_pixelsPerDip
); }