Lines Matching refs:lineIndex
214 int32 lineIndex = 0;
216 lineIndex += fParagraphLayouts[i].layout->CountLines();
220 return lineIndex + info.layout->LineIndexForOffset(textOffset);
228 TextDocumentLayout::FirstOffsetOnLine(int32 lineIndex)
231 int32 index = _ParagraphLayoutIndexForLineIndex(lineIndex, paragraphOffset);
234 return info.layout->FirstOffsetOnLine(lineIndex) + paragraphOffset;
242 TextDocumentLayout::LastOffsetOnLine(int32 lineIndex)
245 int32 index = _ParagraphLayoutIndexForLineIndex(lineIndex, paragraphOffset);
248 return info.layout->LastOffsetOnLine(lineIndex) + paragraphOffset;
273 TextDocumentLayout::GetLineBounds(int32 lineIndex, float& x1, float& y1,
277 int32 index = _ParagraphLayoutIndexForLineIndex(lineIndex, paragraphOffset);
280 info.layout->GetLineBounds(lineIndex, x1, y1, x2, y2);
432 TextDocumentLayout::_ParagraphLayoutIndexForLineIndex(int32& lineIndex,
443 if (lineIndex >= lineCount) {
444 lineIndex -= lineCount;