28 references to GetLine
PresentationFramework (28)
System\Windows\Controls\TextBlock.cs (28)
1417
LineMetrics lineMetrics =
GetLine
(i);
1530
LineMetrics lineMetrics =
GetLine
(i);
1539
double nextLineBottomOffset =
GetLine
(i + 1).Height + lineMetrics.Height + lineOffset.Y;
1682
LineMetrics lineMetrics =
GetLine
(i);
1783
while (startOffset >= (lineOffset +
GetLine
(lineIndex).Length) && lineIndex < lineCount)
1786
lineOffset +=
GetLine
(lineIndex).Length;
1788
lineHeightOffset +=
GetLine
(lineIndex).Height;
1806
LineMetrics lineMetrics =
GetLine
(lineIndex);
2054
LineMetrics lineMetrics =
GetLine
(lineIndex);
2083
LineMetrics lineMetrics =
GetLine
(index);
2089
TextLineBreak textLineBreak =
GetLine
(index).TextLineBreak;
2132
LineMetrics lineMetrics =
GetLine
(index);
2137
TextLineBreak textLineBreak =
GetLine
(index).TextLineBreak;
2198
LineMetrics lineMetrics =
GetLine
(i);
2296
LineMetrics lineMetrics =
GetLine
(i);
2318
MS.Internal.Invariant.Assert(
GetLine
(i).Length == line.Length, "Line length is out of sync");
2410
LineMetrics lineMetrics =
GetLine
(lineIndex);
2470
dcp -=
GetLine
(lineIndex).Length;
2474
else if (characterIndex == (dcp +
GetLine
(lineIndex).Length) && direction == LogicalDirection.Forward)
2487
dcp +=
GetLine
(lineIndex).Length;
2499
LineMetrics lineMetrics =
GetLine
(lineIndex);
2524
if ((nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == (dcp +
GetLine
(lineIndex).Length)) && direction == LogicalDirection.Forward)
2598
dcp -=
GetLine
(lineIndex).Length;
2606
LineMetrics lineMetrics =
GetLine
(lineIndex);
3152
double nextLineBottomOffset =
GetLine
(lineIndex + 1).Height +
GetLine
(lineIndex).Height + lineVOffset;
3426
LineMetrics lineMetrics =
GetLine
(i);
3607
lineStartOffset +=
GetLine
(lineIndex).Length;