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