25 instantiations of Line
PresentationFramework (25)
MS\Internal\PtsHost\TextParaClient.cs (23)
607
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1069
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1659
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1756
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2101
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2212
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2429
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2553
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2632
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2798
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2914
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3040
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3112
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3174
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3233
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3278
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3335
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3627
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3696
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3800
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3926
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3991
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4125
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
MS\Internal\PtsHost\TextParagraph.cs (2)
520
Line line = new
Line
(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
704
Line line = new
Line
(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
94 references to Line
PresentationFramework (94)
MS\Internal\PtsHost\PtsHost.cs (6)
1314
Line
line = PtsContext.HandleToObject(pfslineLast) as
Line
;
1718
Line
line = PtsContext.HandleToObject(pfsline) as
Line
;
2154
Line
line = PtsContext.HandleToObject(pfsline) as
Line
;
MS\Internal\PtsHost\TextParaClient.cs (76)
473
ErrorHandler.Assert(dcpLast == Paragraph.Cch +
Line
.SyntheticCharacterLength, ErrorHandler.ParagraphCharacterCountMismatch);
474
dcpLast -=
Line
.SyntheticCharacterLength;
606
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, true, true, TextParagraph.TextRunCache);
607
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1068
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1069
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1203
lastChunk = (textDetails.u.full.dcpLim ==
Line
.SyntheticCharacterLength);
1555
ErrorHandler.Assert(lastLineResult.DcpLast -
Line
.SyntheticCharacterLength == Paragraph.Cch, ErrorHandler.ParagraphCharacterCountMismatch);
1556
lastLineResult.DcpLast -=
Line
.SyntheticCharacterLength;
1617
ErrorHandler.Assert(lastLineResult.DcpLast -
Line
.SyntheticCharacterLength == Paragraph.Cch, ErrorHandler.ParagraphCharacterCountMismatch);
1618
lastLineResult.DcpLast -=
Line
.SyntheticCharacterLength;
1659
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1660
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1756
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1757
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2101
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2102
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2212
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2213
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2429
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2430
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2553
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2554
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2632
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2633
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2798
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2799
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2914
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2915
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3040
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3041
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3112
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3113
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3174
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3175
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3232
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3233
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3277
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3278
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3334
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3335
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3626
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3627
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3695
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3696
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3799
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3800
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3926
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3927
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3990
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3991
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4125
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
4126
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
MS\Internal\PtsHost\TextParagraph.cs (12)
245
Line
lastLine,
520
Line
line = new Line(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
522
Line
.FormattingContext ctx = new
Line
.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache)
704
Line
line = new Line(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
706
Line
.FormattingContext ctx = new
Line
.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache);
1273
internal void FormatLineCore(
Line
line, IntPtr pbrLineIn,
Line
.FormattingContext ctx, int dcp, int width, bool firstLine, int dcpLine)
1306
internal void FormatLineCore(
Line
line, IntPtr pbrLineIn,
Line
.FormattingContext ctx, int dcp, int width, int trackWidth, bool firstLine, int dcpLine)
1761
private
Line
_currentLine;