26 references to Formatter
PresentationCore (26)
MS\Internal\TextFormatting\FullTextBreakpoint.cs (2)
59Invariant.Assert(settings.Formatter != null); 62TextFormatterContext context = settings.Formatter.AcquireContext(fullText, IntPtr.Zero);
MS\Internal\TextFormatting\FullTextState.cs (2)
91settings.Formatter, 623get { return _store.Settings.Formatter; }
MS\Internal\TextFormatting\SimpleTextLine.cs (15)
220settings.Formatter, 272TextFormatterImp formatter = settings.Formatter; 464return _settings.Formatter.IdealToReal(idealAdvance + _idealOffsetUnRounded, PixelsPerDip); 602_settings.Formatter.IdealToReal(idealXRelativeToOrigin, PixelsPerDip) + origin.X, 923displayGlyphAdvances[i] = _settings.Formatter.IdealToReal(run.NominalAdvances[i], PixelsPerDip); 932displayGlyphAdvances.Add(_settings.Formatter.IdealToReal(run.NominalAdvances[i], PixelsPerDip)); 1484settings.Formatter.TextFormattingMode 1519return new SimpleRun(lengthOfRun, mergedTextRun, (Flags.EOT | Flags.Ghost), settings.Formatter, pixelsPerDip); 1522return new SimpleRun(runLength, textRun, (Flags.EOT | Flags.Ghost), settings.Formatter, pixelsPerDip); 1529return new SimpleRun(runLength, textRun, (Flags.EOT | Flags.Ghost), settings.Formatter, pixelsPerDip); 1543settings.Formatter, 1564run = new SimpleRun(runLength, textRun, (Flags.EOT | Flags.Ghost), settings.Formatter, pixelsPerDip); 1569run = new SimpleRun(runLength, textRun, Flags.Ghost, settings.Formatter, pixelsPerDip); 1613SimpleRun run = new SimpleRun(1, modifedTextRun, Flags.Tab, settings.Formatter, pixelsPerDip); 1620settings.Formatter.TextFormattingMode,
MS\Internal\TextFormatting\TextStore.cs (6)
1671_settings.Formatter.GlyphingCache, 2096Settings.Formatter.TextFormattingMode, 2189Settings.Formatter.TextFormattingMode, 2348metrics = textObject.Format(_settings.Formatter.IdealToReal(widthLeft, _settings.TextSource.PixelsPerDip)); 2355_settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.PixelsPerDip), 2360else if (metrics.Width > _settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.PixelsPerDip))
System\Windows\Media\textformatting\TextParagraphCache.cs (1)
49TextFormatterContext context = settings.Formatter.AcquireContext(_fullText, IntPtr.Zero);