Lines Matching refs:glyphs
191 auto glyphs = resolvedBlock.fGlyphs;
195 lastTextEnd, text.start, text.end, glyphs.start, glyphs.end);
210 auto runAdvance = SkVector::Make(run->posX(glyphs.end) - run->posX(glyphs.start), run->fAdvance.fY);
215 glyphs.width(),
231 SkPoint zero = {run->fPositions[glyphs.start].fX, 0};
232 for (size_t i = glyphs.start; i <= glyphs.end; ++i) {
234 auto index = i - glyphs.start;
235 if (i < glyphs.end) {
334 // We only count glyph resolved if all the glyphs in its grapheme are resolved
792 // When we extend TextRange to the grapheme edges, we also extend glyphs range
793 TextRange OneLineShaper::clusteredText(GlyphRange& glyphs) {
822 TextRange textRange(normalizeTextRange(glyphs));
829 while (glyphs.start > 0 && clusterIndex(glyphs.start) > textRange.start) {
830 glyphs.start--;
832 while (glyphs.end < fCurrentRun->size() && clusterIndex(glyphs.end) < textRange.end) {
833 glyphs.end++;
836 while (glyphs.start > 0 && clusterIndex(glyphs.start - 1) < textRange.end) {
837 glyphs.start--;
839 while (glyphs.end < fCurrentRun->size() && clusterIndex(glyphs.end) > textRange.start) {
840 glyphs.end++;