1 instantiation of TextFormatterContext
PresentationCore (1)
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (1)
592
context = new
TextFormatterContext
();
26 references to TextFormatterContext
PresentationCore (26)
Core\CSharp\MS\Internal\TextFormatting\FullTextBreakpoint.cs (3)
92
TextFormatterContext
context = settings.Formatter.AcquireContext(fullText, IntPtr.Zero);
128
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.CreateBreaksFailure, lserr), lserr);
290
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.RelievePenaltyResourceFailure, lserr), lserr);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (8)
252
TextFormatterContext
context = _metrics._formatter.AcquireContext(fullText, IntPtr.Zero);
345
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.CreateLineFailure, lserr), lserr);
630
TextFormatterContext
context;
674
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.CreateLineFailure, lserr), lserr);
2176
TextFormatterContext
context = _metrics._formatter.AcquireContext(
2214
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.EnumLineFailure, lserr), lserr);
2531
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.QueryLineFailure, lserr), lserr);
2594
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.QueryLineFailure, lserr), lserr);
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (1)
197
internal void SetTabs(
TextFormatterContext
context)
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (5)
44
private FrugalStructList<
TextFormatterContext
> _contextList; // LS context free list
75
internal TextFormatterImp(
TextFormatterContext
soleContext, TextFormattingMode textFormattingMode)
553
internal
TextFormatterContext
AcquireContext(
560
TextFormatterContext
context = null;
567
context = (
TextFormatterContext
)_contextList[c];
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (1)
321
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.AcquireBreakRecordFailure, lserr), lserr);
Core\CSharp\MS\Internal\TextFormatting\TextPenaltyModule.cs (2)
58
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.AcquirePenaltyModuleFailure, lserr), lserr);
121
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.GetPenaltyModuleHandleFailure, lserr), lserr);
Core\CSharp\MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
354
TextFormatterContext
.IsSpecialCharacter(*characterString))
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatter.cs (2)
77
static internal TextFormatter CreateFromContext(
TextFormatterContext
soleContext)
94
static internal TextFormatter CreateFromContext(
TextFormatterContext
soleContext, TextFormattingMode textFormattingMode)
Core\CSharp\System\Windows\Media\TextFormatting\TextLineBreak.cs (1)
103
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.CloneBreakRecordFailure, lserr), lserr);
Core\CSharp\System\Windows\Media\TextFormatting\TextParagraphCache.cs (2)
75
TextFormatterContext
context = settings.Formatter.AcquireContext(_fullText, IntPtr.Zero);
108
TextFormatterContext
.ThrowExceptionFromLsError(SR.Get(SRID.CreateParaBreakingSessionFailure, lserr), lserr);