Lines Matching defs:run
45 // No unresolved blocks added - we resolved the block with one run entirely
51 // Nothing was resolved; preserve the initial run if it makes sense
190 auto run = resolvedBlock.fRun;
201 // Just move the entire run
206 } else if (run == nullptr) {
210 auto runAdvance = SkVector::Make(run->posX(glyphs.end) - run->posX(glyphs.start), run->fAdvance.fY);
212 run->fFont,
213 run->fBidiLevel,
216 SkShaper::RunHandler::Range(text.start - run->fClusterStart, text.width())
221 run->fClusterStart,
231 SkPoint zero = {run->fPositions[glyphs.start].fX, 0};
236 piece->fGlyphs[index] = run->fGlyphs[i];
238 piece->fClusterIndexes[index] = run->fClusterIndexes[i];
239 piece->fPositions[index] = run->fPositions[i] - zero;
240 piece->fOffsets[index] = run->fOffsets[i];
244 // Carve out the line text out of the entire run text
630 auto& run = fParagraph->fRuns.emplace_back(this->fParagraph,
639 run.fPositions[0] = { advanceX, 0 };
640 run.fOffsets[0] = {0, 0};
641 run.fClusterIndexes[0] = 0;
642 run.fPlaceholderIndex = &placeholder - fParagraph->fPlaceholders.begin();
672 // Start from the beginning (hoping that it's a simple case one block - one run)