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));
358
get { return _formatter.IdealToReal(_paragraphToText - _textStart,
_pixelsPerDip
); }
367
get { return _formatter.IdealToReal(_textWidthAtTrailing + _textStart,
_pixelsPerDip
); }
376
get { return _formatter.IdealToReal(_textWidth + _textStart,
_pixelsPerDip
); }
385
get { return _formatter.IdealToReal(_height,
_pixelsPerDip
); }
395
get { return _formatter.IdealToReal(_textHeight,
_pixelsPerDip
); }
404
get { return _formatter.IdealToReal(_baselineOffset,
_pixelsPerDip
); }
414
get { return _formatter.IdealToReal(_textAscent,
_pixelsPerDip
); }