• Home
  • Raw
  • Download

Lines Matching refs:textRange

89                 return a.textRange.fStart < b.textRange.fStart;  in resolveFonts()
100 bool FontResolvedText::resolveChain(UnicodeText* unicodeText, TextRange textRange, const FontChain&… in resolveChain() argument
103 unresolvedTexts.push_back(textRange); in resolveChain()
174 , fCurrentFontIndex(fCurrentBlock->textRange.fEnd) { in FormattingFontIterator()
189 fCurrentFontIndex = fCurrentBlock->textRange.fEnd; in consume()
264 TextRange text8(UTF8FromUTF16[fb.textRange.fStart], UTF8FromUTF16[fb.textRange.fEnd]); in shape()
374 auto isWhitespaces = unicodeText->isWhitespaces(cluster.textRange()); in wrap()
479 … auto textStart = isFirstRun ? lineStretch.textRange().fStart : logicalRun.fUtf16Range.fStart; in addLine()
480 auto textEnd = isLastRun ? lineStretch.textRange().fEnd : logicalRun.fUtf16Range.fEnd; in addLine()
496 …wrappedText->fVisualLines.emplace_back(lineStretch.textRange(), hardLineBreak, wrappedText->fActua… in addLine()
553 SkSpan<TextIndex> WrappedText::limitBlocks(TextRange textRange, SkSpan<TextIndex> blocks) { in limitBlocks() argument
557 if (textRange.fEnd < block) { in limitBlocks()
559 } else if (textRange.fStart >= block) { in limitBlocks()
567 return SkSpan<TextIndex>(&blocks[textRange.fStart], textRange.width()); in limitBlocks()
873 TextRange textRange = EMPTY_RANGE; in glyphsToText() local
875 if (textRange.fStart == EMPTY_INDEX) { in glyphsToText()
876 textRange.fStart = line.fTextByGlyph[glyph]; in glyphsToText()
878 textRange.fEnd = line.fTextByGlyph[glyph]; in glyphsToText()
880 return textRange; in glyphsToText()