28 references to GetLine
PresentationFramework (28)
src\Framework\System\Windows\Controls\TextBlock.cs (28)
1505
LineMetrics lineMetrics =
GetLine
(i);
1621
LineMetrics lineMetrics =
GetLine
(i);
1630
double nextLineBottomOffset =
GetLine
(i + 1).Height + lineMetrics.Height + lineOffset.Y;
1777
LineMetrics lineMetrics =
GetLine
(i);
1881
while (startOffset >= (lineOffset +
GetLine
(lineIndex).Length) && lineIndex < lineCount)
1884
lineOffset +=
GetLine
(lineIndex).Length;
1886
lineHeightOffset +=
GetLine
(lineIndex).Height;
1904
LineMetrics lineMetrics =
GetLine
(lineIndex);
2153
LineMetrics lineMetrics =
GetLine
(lineIndex);
2187
TextLineBreak textLineBreak =
GetLine
(index).TextLineBreak;
2191
MS.Internal.Invariant.Assert(
GetLine
(index).Length == line.Length, "Line length is out of sync");
2234
TextLineBreak textLineBreak =
GetLine
(index).TextLineBreak;
2238
MS.Internal.Invariant.Assert(
GetLine
(index).Length == line.Length, "Line length is out of sync");
2295
LineMetrics lineMetrics =
GetLine
(i);
2394
LineMetrics lineMetrics =
GetLine
(i);
2416
MS.Internal.Invariant.Assert(
GetLine
(i).Length == line.Length, "Line length is out of sync");
2508
LineMetrics lineMetrics =
GetLine
(lineIndex);
2569
dcp -=
GetLine
(lineIndex).Length;
2573
else if (characterIndex == (dcp +
GetLine
(lineIndex).Length) && direction == LogicalDirection.Forward)
2586
dcp +=
GetLine
(lineIndex).Length;
2598
LineMetrics lineMetrics =
GetLine
(lineIndex);
2623
if ((nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == (dcp +
GetLine
(lineIndex).Length)) && direction == LogicalDirection.Forward)
2697
dcp -=
GetLine
(lineIndex).Length;
2705
LineMetrics lineMetrics =
GetLine
(lineIndex);
3252
double nextLineBottomOffset =
GetLine
(lineIndex + 1).Height +
GetLine
(lineIndex).Height + lineVOffset;
3425
LineMetrics lineMetrics =
GetLine
(i);
3606
lineStartOffset +=
GetLine
(lineIndex).Length;