1 instantiation of TextFormatterContext
PresentationCore (1)
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
539context = new TextFormatterContext();
26 references to TextFormatterContext
PresentationCore (26)
MS\Internal\TextFormatting\FullTextBreakpoint.cs (3)
62TextFormatterContext context = settings.Formatter.AcquireContext(fullText, IntPtr.Zero); 98TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateBreaksFailure, lserr), lserr); 240TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.RelievePenaltyResourceFailure, lserr), lserr);
MS\Internal\TextFormatting\FullTextLine.cs (8)
214TextFormatterContext context = _metrics._formatter.AcquireContext(fullText, IntPtr.Zero); 307TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateLineFailure, lserr), lserr); 582TextFormatterContext context; 626TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateLineFailure, lserr), lserr); 2119TextFormatterContext context = _metrics._formatter.AcquireContext( 2157TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.EnumLineFailure, lserr), lserr); 2462TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.QueryLineFailure, lserr), lserr); 2519TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.QueryLineFailure, lserr), lserr);
MS\Internal\TextFormatting\FullTextState.cs (1)
175internal void SetTabs(TextFormatterContext context)
MS\Internal\TextFormatting\TextFormatterImp.cs (5)
19private FrugalStructList<TextFormatterContext> _contextList; // LS context free list 50internal TextFormatterImp(TextFormatterContext soleContext, TextFormattingMode textFormattingMode) 500internal TextFormatterContext AcquireContext( 507TextFormatterContext context = null; 514context = (TextFormatterContext)_contextList[c];
MS\Internal\TextFormatting\TextMetrics.cs (1)
296TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.AcquireBreakRecordFailure, lserr), lserr);
MS\Internal\TextFormatting\TextPenaltyModule.cs (2)
30TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.AcquirePenaltyModuleFailure, lserr), lserr); 84TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.GetPenaltyModuleHandleFailure, lserr), lserr);
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
338TextFormatterContext.IsSpecialCharacter(*characterString))
System\Windows\Media\textformatting\TextFormatter.cs (2)
72static internal TextFormatter CreateFromContext(TextFormatterContext soleContext) 88static internal TextFormatter CreateFromContext(TextFormatterContext soleContext, TextFormattingMode textFormattingMode)
System\Windows\Media\textformatting\TextLineBreak.cs (1)
78TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CloneBreakRecordFailure, lserr), lserr);
System\Windows\Media\textformatting\TextParagraphCache.cs (2)
49TextFormatterContext context = settings.Formatter.AcquireContext(_fullText, IntPtr.Zero); 82TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateParaBreakingSessionFailure, lserr), lserr);