26 references to Formatter
PresentationCore (26)
MS\Internal\TextFormatting\FullTextBreakpoint.cs (2)
81Invariant.Assert(settings.Formatter != null); 84TextFormatterContext context = settings.Formatter.AcquireContext(fullText, IntPtr.Zero);
MS\Internal\TextFormatting\FullTextState.cs (2)
97settings.Formatter, 629get { return _store.Settings.Formatter; }
MS\Internal\TextFormatting\SimpleTextLine.cs (15)
229settings.Formatter, 281TextFormatterImp formatter = settings.Formatter; 473return _settings.Formatter.IdealToReal(idealAdvance + _idealOffsetUnRounded, PixelsPerDip); 611_settings.Formatter.IdealToReal(idealXRelativeToOrigin, PixelsPerDip) + origin.X, 932displayGlyphAdvances[i] = _settings.Formatter.IdealToReal(run.NominalAdvances[i], PixelsPerDip); 941displayGlyphAdvances.Add(_settings.Formatter.IdealToReal(run.NominalAdvances[i], PixelsPerDip)); 1493settings.Formatter.TextFormattingMode 1528return new SimpleRun(lengthOfRun, mergedTextRun, (Flags.EOT | Flags.Ghost), settings.Formatter, pixelsPerDip); 1531return new SimpleRun(runLength, textRun, (Flags.EOT | Flags.Ghost), settings.Formatter, pixelsPerDip); 1538return new SimpleRun(runLength, textRun, (Flags.EOT | Flags.Ghost), settings.Formatter, pixelsPerDip); 1552settings.Formatter, 1573run = new SimpleRun(runLength, textRun, (Flags.EOT | Flags.Ghost), settings.Formatter, pixelsPerDip); 1578run = new SimpleRun(runLength, textRun, Flags.Ghost, settings.Formatter, pixelsPerDip); 1622SimpleRun run = new SimpleRun(1, modifedTextRun, Flags.Tab, settings.Formatter, pixelsPerDip); 1629settings.Formatter.TextFormattingMode,
MS\Internal\TextFormatting\TextStore.cs (6)
1686_settings.Formatter.GlyphingCache, 2111Settings.Formatter.TextFormattingMode, 2204Settings.Formatter.TextFormattingMode, 2363metrics = textObject.Format(_settings.Formatter.IdealToReal(widthLeft, _settings.TextSource.PixelsPerDip)); 2370_settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.PixelsPerDip), 2375else if (metrics.Width > _settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.PixelsPerDip))
System\Windows\Media\textformatting\TextParagraphCache.cs (1)
64TextFormatterContext context = settings.Formatter.AcquireContext(_fullText, IntPtr.Zero);