2 writes to _pixelsPerDip
PresentationCore (2)
MS\Internal\TextFormatting\FullTextLine.cs (1)
165_metrics._pixelsPerDip = pixelsPerDip;
MS\Internal\TextFormatting\TextMetrics.cs (1)
130_pixelsPerDip = store.Settings.TextSource.PixelsPerDip;
11 references to _pixelsPerDip
PresentationCore (11)
MS\Internal\TextFormatting\TextMetrics.cs (11)
192* pap.DefaultTypeface.Baseline(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode) 193/ pap.DefaultTypeface.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode) 201_textAscent = (int)Math.Round(pap.DefaultTypeface.Baseline(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode)); 202_textHeight = (int)Math.Round(pap.DefaultTypeface.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode)); 358get { return _formatter.IdealToReal(_paragraphToText - _textStart, _pixelsPerDip); } 367get { return _formatter.IdealToReal(_textWidthAtTrailing + _textStart, _pixelsPerDip); } 376get { return _formatter.IdealToReal(_textWidth + _textStart, _pixelsPerDip); } 385get { return _formatter.IdealToReal(_height, _pixelsPerDip); } 395get { return _formatter.IdealToReal(_textHeight, _pixelsPerDip); } 404get { return _formatter.IdealToReal(_baselineOffset, _pixelsPerDip); } 414get { return _formatter.IdealToReal(_textAscent, _pixelsPerDip); }