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));
373
get { return _formatter.IdealToReal(_paragraphToText - _textStart,
_pixelsPerDip
); }
382
get { return _formatter.IdealToReal(_textWidthAtTrailing + _textStart,
_pixelsPerDip
); }
391
get { return _formatter.IdealToReal(_textWidth + _textStart,
_pixelsPerDip
); }
400
get { return _formatter.IdealToReal(_height,
_pixelsPerDip
); }
410
get { return _formatter.IdealToReal(_textHeight,
_pixelsPerDip
); }
419
get { return _formatter.IdealToReal(_baselineOffset,
_pixelsPerDip
); }
429
get { return _formatter.IdealToReal(_textAscent,
_pixelsPerDip
); }