1 instantiation of TextFormatterContext
PresentationCore (1)
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
538context = new TextFormatterContext();
26 references to TextFormatterContext
PresentationCore (26)
MS\Internal\TextFormatting\FullTextBreakpoint.cs (3)
61TextFormatterContext context = settings.Formatter.AcquireContext(fullText, IntPtr.Zero); 97TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateBreaksFailure, lserr), lserr); 241TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.RelievePenaltyResourceFailure, lserr), lserr);
MS\Internal\TextFormatting\FullTextLine.cs (8)
215TextFormatterContext context = _metrics._formatter.AcquireContext(fullText, IntPtr.Zero); 308TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateLineFailure, lserr), lserr); 583TextFormatterContext context; 627TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateLineFailure, lserr), lserr); 2120TextFormatterContext context = _metrics._formatter.AcquireContext( 2158TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.EnumLineFailure, lserr), lserr); 2463TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.QueryLineFailure, lserr), lserr); 2520TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.QueryLineFailure, lserr), lserr);
MS\Internal\TextFormatting\FullTextState.cs (1)
174internal void SetTabs(TextFormatterContext context)
MS\Internal\TextFormatting\TextFormatterImp.cs (5)
18private FrugalStructList<TextFormatterContext> _contextList; // LS context free list 49internal TextFormatterImp(TextFormatterContext soleContext, TextFormattingMode textFormattingMode) 499internal TextFormatterContext AcquireContext( 506TextFormatterContext context = null; 513context = (TextFormatterContext)_contextList[c];
MS\Internal\TextFormatting\TextMetrics.cs (1)
295TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.AcquireBreakRecordFailure, lserr), lserr);
MS\Internal\TextFormatting\TextPenaltyModule.cs (2)
29TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.AcquirePenaltyModuleFailure, lserr), lserr); 83TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.GetPenaltyModuleHandleFailure, lserr), lserr);
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
337TextFormatterContext.IsSpecialCharacter(*characterString))
System\Windows\Media\textformatting\TextFormatter.cs (2)
71internal static TextFormatter CreateFromContext(TextFormatterContext soleContext) 87internal static TextFormatter CreateFromContext(TextFormatterContext soleContext, TextFormattingMode textFormattingMode)
System\Windows\Media\textformatting\TextLineBreak.cs (1)
77TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CloneBreakRecordFailure, lserr), lserr);
System\Windows\Media\textformatting\TextParagraphCache.cs (2)
48TextFormatterContext context = settings.Formatter.AcquireContext(_fullText, IntPtr.Zero); 81TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateParaBreakingSessionFailure, lserr), lserr);