12 references to TextSource
PresentationCore (12)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (2)
112: this(settings.TextFormattingMode, settings.Pap.Justify, settings.TextSource.PixelsPerDip) 429_textSource = settings.TextSource;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
492lstTextMetrics.dvAscent = (int)Math.Round(typeface.Baseline(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.PixelsPerDip, fullText.TextFormattingMode)); 493lstTextMetrics.dvMultiLineHeight = (int)Math.Round(typeface.LineSpacing(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.PixelsPerDip, fullText.TextFormattingMode)); 1858(float)FullText.StoreFrom(lsrunFirst.Type).Settings.TextSource.PixelsPerDip,
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (1)
151_pixelsPerDip = store.Settings.TextSource.PixelsPerDip;
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (2)
122textRun = settings.TextSource.GetTextRun(cpFetch); 191textRun.Properties.PixelsPerDip = settings.TextSource.PixelsPerDip;
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (4)
517int offset = cpFetched - _settings.TextSource.GetTextEffectCharacterIndexFromTextSourceCharacterIndex(cpFetched); 2373metrics = textObject.Format(_settings.Formatter.IdealToReal(widthLeft, _settings.TextSource.PixelsPerDip)); 2380_settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.PixelsPerDip), 2385else if (metrics.Width > _settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.PixelsPerDip))