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