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