Lines Matching refs:pts
56 for (auto [verb, pts, w] : SkPathPriv::Iterate(src)) {
58 case SkPathVerb::kMove: this->moveTo(pts[0]); break;
59 case SkPathVerb::kLine: this->lineTo(pts[1]); break;
60 case SkPathVerb::kQuad: this->quadTo(pts[1], pts[2]); break;
61 case SkPathVerb::kConic: this->conicTo(pts[1], pts[2], w[0]); break;
62 case SkPathVerb::kCubic: this->cubicTo(pts[1], pts[2], pts[3]); break;
681 const int kPts = 9; // moveTo + 4 conics(2 pts each)
688 // The corner iterator pts are tracking "behind" the oval/radii pts.
762 SkPathBuilder& SkPathBuilder::addPolygon(const SkPoint pts[], int count, bool isClosed) {
767 this->moveTo(pts[0]);
768 this->polylineTo(&pts[1], count - 1);
775 SkPathBuilder& SkPathBuilder::polylineTo(const SkPoint pts[], int count) {
780 memcpy(fPts.append(count), pts, count * sizeof(SkPoint));
798 SkPoint pts[4];
801 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) {
803 case SkPath::kMove_Verb: this->moveTo (pts[0]); break;
804 case SkPath::kLine_Verb: this->lineTo (pts[1]); break;
805 case SkPath::kQuad_Verb: this->quadTo (pts[1], pts[2]); break;
806 case SkPath::kCubic_Verb: this->cubicTo(pts[1], pts[2], pts[3]); break;
807 case SkPath::kConic_Verb: this->conicTo(pts[1], pts[2], iter.conicWeight()); break;
820 const SkPoint* pts = src.fPathRef->pointsEnd();
830 --pts;
831 this->moveTo(pts->fX, pts->fY);
834 pts -= n;
842 pts += 1; // so we see the point in "if (needMove)" above
845 this->lineTo(pts[0]);
848 this->quadTo(pts[1], pts[0]);
851 this->conicTo(pts[1], pts[0], *--conicWeights);
854 this->cubicTo(pts[2], pts[1], pts[0]);