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