12 references to TextSource
PresentationCore (12)
MS\Internal\TextFormatting\FullTextLine.cs (2)
109
: this(settings.TextFormattingMode, settings.Pap.Justify, settings.
TextSource
.PixelsPerDip)
406
_textSource = settings.
TextSource
;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
456
lstTextMetrics.dvAscent = (int)Math.Round(typeface.Baseline(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.
TextSource
.PixelsPerDip, fullText.TextFormattingMode));
457
lstTextMetrics.dvMultiLineHeight = (int)Math.Round(typeface.LineSpacing(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.
TextSource
.PixelsPerDip, fullText.TextFormattingMode));
1750
(float)FullText.StoreFrom(lsrunFirst.Type).Settings.
TextSource
.PixelsPerDip,
MS\Internal\TextFormatting\TextMetrics.cs (1)
145
_pixelsPerDip = store.Settings.
TextSource
.PixelsPerDip;
MS\Internal\TextFormatting\TextRunCacheImp.cs (2)
119
textRun = settings.
TextSource
.GetTextRun(cpFetch);
185
textRun.Properties.PixelsPerDip = settings.
TextSource
.PixelsPerDip;
MS\Internal\TextFormatting\TextStore.cs (4)
511
int offset = cpFetched - _settings.
TextSource
.GetTextEffectCharacterIndexFromTextSourceCharacterIndex(cpFetched);
2363
metrics = textObject.Format(_settings.Formatter.IdealToReal(widthLeft, _settings.
TextSource
.PixelsPerDip));
2370
_settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.
TextSource
.PixelsPerDip),
2375
else if (metrics.Width > _settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.
TextSource
.PixelsPerDip))