Home | History | Annotate | Download | only in gfx

Lines Matching refs:text_index

480 int TextRunHarfBuzz::GetGlyphXBoundary(size_t text_index, bool trailing) const {
481 if (text_index == range.end()) {
483 --text_index;
485 Range glyph_range = CharRangeToGlyphRange(Range(text_index, text_index + 1));
699 const size_t text_index = UTF16OffsetToIndex(text(), 0, index);
700 DCHECK_LE(text_index, text().length());
701 return text_index;