28 references to GetLine
PresentationFramework (28)
System\Windows\Controls\TextBlock.cs (28)
1427
LineMetrics lineMetrics =
GetLine
(i);
1540
LineMetrics lineMetrics =
GetLine
(i);
1549
double nextLineBottomOffset =
GetLine
(i + 1).Height + lineMetrics.Height + lineOffset.Y;
1692
LineMetrics lineMetrics =
GetLine
(i);
1793
while (startOffset >= (lineOffset +
GetLine
(lineIndex).Length) && lineIndex < lineCount)
1796
lineOffset +=
GetLine
(lineIndex).Length;
1798
lineHeightOffset +=
GetLine
(lineIndex).Height;
1816
LineMetrics lineMetrics =
GetLine
(lineIndex);
2064
LineMetrics lineMetrics =
GetLine
(lineIndex);
2093
LineMetrics lineMetrics =
GetLine
(index);
2099
TextLineBreak textLineBreak =
GetLine
(index).TextLineBreak;
2142
LineMetrics lineMetrics =
GetLine
(index);
2147
TextLineBreak textLineBreak =
GetLine
(index).TextLineBreak;
2208
LineMetrics lineMetrics =
GetLine
(i);
2306
LineMetrics lineMetrics =
GetLine
(i);
2328
MS.Internal.Invariant.Assert(
GetLine
(i).Length == line.Length, "Line length is out of sync");
2420
LineMetrics lineMetrics =
GetLine
(lineIndex);
2480
dcp -=
GetLine
(lineIndex).Length;
2484
else if (characterIndex == (dcp +
GetLine
(lineIndex).Length) && direction == LogicalDirection.Forward)
2497
dcp +=
GetLine
(lineIndex).Length;
2509
LineMetrics lineMetrics =
GetLine
(lineIndex);
2534
if ((nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == (dcp +
GetLine
(lineIndex).Length)) && direction == LogicalDirection.Forward)
2608
dcp -=
GetLine
(lineIndex).Length;
2616
LineMetrics lineMetrics =
GetLine
(lineIndex);
3162
double nextLineBottomOffset =
GetLine
(lineIndex + 1).Height +
GetLine
(lineIndex).Height + lineVOffset;
3436
LineMetrics lineMetrics =
GetLine
(i);
3617
lineStartOffset +=
GetLine
(lineIndex).Length;