2 writes to _pixelsPerDip
PresentationCore (2)
MS\Internal\TextFormatting\FullTextLine.cs (1)
180_metrics._pixelsPerDip = pixelsPerDip;
MS\Internal\TextFormatting\TextMetrics.cs (1)
145_pixelsPerDip = store.Settings.TextSource.PixelsPerDip;
11 references to _pixelsPerDip
PresentationCore (11)
MS\Internal\TextFormatting\TextMetrics.cs (11)
207* pap.DefaultTypeface.Baseline(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode) 208/ pap.DefaultTypeface.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode) 216_textAscent = (int)Math.Round(pap.DefaultTypeface.Baseline(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode)); 217_textHeight = (int)Math.Round(pap.DefaultTypeface.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode)); 373get { return _formatter.IdealToReal(_paragraphToText - _textStart, _pixelsPerDip); } 382get { return _formatter.IdealToReal(_textWidthAtTrailing + _textStart, _pixelsPerDip); } 391get { return _formatter.IdealToReal(_textWidth + _textStart, _pixelsPerDip); } 400get { return _formatter.IdealToReal(_height, _pixelsPerDip); } 410get { return _formatter.IdealToReal(_textHeight, _pixelsPerDip); } 419get { return _formatter.IdealToReal(_baselineOffset, _pixelsPerDip); } 429get { return _formatter.IdealToReal(_textAscent, _pixelsPerDip); }