Lines Matching refs:it
356 // by Minikin then it had already computed these bounds. Unfortunately,
419 SkTextBlobRunIterator it(blob);
420 for (; !it.done(); it.next()) {
421 size_t textLen = it.glyphCount() * sizeof(uint16_t);
422 const SkPoint& offset = it.offset();
424 // so it is safe to not re-seed the paint for this reason.
425 it.applyFontToPaint(&runPaint);
427 switch (it.positioning()) {
429 this->drawText(it.glyphs(), textLen, x + offset.x(), y + offset.y(), runPaint);
432 std::unique_ptr<SkPoint[]> pts(new SkPoint[it.glyphCount()]);
433 for (size_t i = 0; i < it.glyphCount(); i++) {
434 pts[i].set(x + offset.x() + it.pos()[i], y + offset.y());
436 this->drawPosText(it.glyphs(), textLen, pts.get(), runPaint);
440 std::unique_ptr<SkPoint[]> pts(new SkPoint[it.glyphCount()]);
441 for (size_t i = 0; i < it.glyphCount(); i++) {
444 pts[i].set(x + offset.x() + it.pos()[xIndex],
445 y + offset.y() + it.pos()[yIndex]);
447 this->drawPosText(it.glyphs(), textLen, pts.get(), runPaint);