1 instantiation of TextFormatterContext
PresentationCore (1)
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (1)
592context = new TextFormatterContext();
26 references to TextFormatterContext
PresentationCore (26)
Core\CSharp\MS\Internal\TextFormatting\FullTextBreakpoint.cs (3)
92TextFormatterContext context = settings.Formatter.AcquireContext(fullText, IntPtr.Zero); 128TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.CreateBreaksFailure, lserr), lserr); 290TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.RelievePenaltyResourceFailure, lserr), lserr);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (8)
252TextFormatterContext context = _metrics._formatter.AcquireContext(fullText, IntPtr.Zero); 345TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.CreateLineFailure, lserr), lserr); 630TextFormatterContext context; 674TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.CreateLineFailure, lserr), lserr); 2176TextFormatterContext context = _metrics._formatter.AcquireContext( 2214TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.EnumLineFailure, lserr), lserr); 2531TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.QueryLineFailure, lserr), lserr); 2594TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.QueryLineFailure, lserr), lserr);
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (1)
197internal void SetTabs(TextFormatterContext context)
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (5)
44private FrugalStructList<TextFormatterContext> _contextList; // LS context free list 75internal TextFormatterImp(TextFormatterContext soleContext, TextFormattingMode textFormattingMode) 553internal TextFormatterContext AcquireContext( 560TextFormatterContext context = null; 567context = (TextFormatterContext)_contextList[c];
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (1)
321TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.AcquireBreakRecordFailure, lserr), lserr);
Core\CSharp\MS\Internal\TextFormatting\TextPenaltyModule.cs (2)
58TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.AcquirePenaltyModuleFailure, lserr), lserr); 121TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.GetPenaltyModuleHandleFailure, lserr), lserr);
Core\CSharp\MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
354TextFormatterContext.IsSpecialCharacter(*characterString))
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatter.cs (2)
77static internal TextFormatter CreateFromContext(TextFormatterContext soleContext) 94static internal TextFormatter CreateFromContext(TextFormatterContext soleContext, TextFormattingMode textFormattingMode)
Core\CSharp\System\Windows\Media\TextFormatting\TextLineBreak.cs (1)
103TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.CloneBreakRecordFailure, lserr), lserr);
Core\CSharp\System\Windows\Media\TextFormatting\TextParagraphCache.cs (2)
75TextFormatterContext context = settings.Formatter.AcquireContext(_fullText, IntPtr.Zero); 108TextFormatterContext.ThrowExceptionFromLsError(SR.Get(SRID.CreateParaBreakingSessionFailure, lserr), lserr);