1 instantiation of TextFormatterContext
PresentationCore (1)
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
562context = new TextFormatterContext();
26 references to TextFormatterContext
PresentationCore (26)
MS\Internal\TextFormatting\FullTextBreakpoint.cs (3)
84TextFormatterContext context = settings.Formatter.AcquireContext(fullText, IntPtr.Zero); 120TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateBreaksFailure, lserr), lserr); 262TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.RelievePenaltyResourceFailure, lserr), lserr);
MS\Internal\TextFormatting\FullTextLine.cs (8)
229TextFormatterContext context = _metrics._formatter.AcquireContext(fullText, IntPtr.Zero); 322TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateLineFailure, lserr), lserr); 597TextFormatterContext context; 641TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateLineFailure, lserr), lserr); 2134TextFormatterContext context = _metrics._formatter.AcquireContext( 2172TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.EnumLineFailure, lserr), lserr); 2477TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.QueryLineFailure, lserr), lserr); 2534TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.QueryLineFailure, lserr), lserr);
MS\Internal\TextFormatting\FullTextState.cs (1)
181internal void SetTabs(TextFormatterContext context)
MS\Internal\TextFormatting\TextFormatterImp.cs (5)
42private FrugalStructList<TextFormatterContext> _contextList; // LS context free list 73internal TextFormatterImp(TextFormatterContext soleContext, TextFormattingMode textFormattingMode) 523internal TextFormatterContext AcquireContext( 530TextFormatterContext context = null; 537context = (TextFormatterContext)_contextList[c];
MS\Internal\TextFormatting\TextMetrics.cs (1)
311TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.AcquireBreakRecordFailure, lserr), lserr);
MS\Internal\TextFormatting\TextPenaltyModule.cs (2)
50TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.AcquirePenaltyModuleFailure, lserr), lserr); 104TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.GetPenaltyModuleHandleFailure, lserr), lserr);
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
346TextFormatterContext.IsSpecialCharacter(*characterString))
System\Windows\Media\textformatting\TextFormatter.cs (2)
75static internal TextFormatter CreateFromContext(TextFormatterContext soleContext) 92static internal TextFormatter CreateFromContext(TextFormatterContext soleContext, TextFormattingMode textFormattingMode)
System\Windows\Media\textformatting\TextLineBreak.cs (1)
95TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CloneBreakRecordFailure, lserr), lserr);
System\Windows\Media\textformatting\TextParagraphCache.cs (2)
66TextFormatterContext context = settings.Formatter.AcquireContext(_fullText, IntPtr.Zero); 99TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateParaBreakingSessionFailure, lserr), lserr);