Lines Matching refs:pt1
779 void SkPathStroker::conicTo(const SkPoint& pt1, const SkPoint& pt2, SkScalar weight) {
780 const SkConic conic(fPrevPt, pt1, pt2, weight);
800 if (!this->preJoinTo(pt1, &normalAB, &unitAB, false)) {
814 void SkPathStroker::quadTo(const SkPoint& pt1, const SkPoint& pt2) {
816 const SkPoint quad[3] = { fPrevPt, pt1, pt2 };
836 if (!this->preJoinTo(pt1, &normalAB, &unitAB, false)) {
847 bool degenerateAB = SkPath::IsLineDegenerate(fPrevPt, pt1);
848 bool degenerateBC = SkPath::IsLineDegenerate(pt1, pt2);
859 this->preJoinTo(pt1, &normalAB, &unitAB, false);
864 pts[1] = pt1;
1376 void SkPathStroker::cubicTo(const SkPoint& pt1, const SkPoint& pt2,
1379 const SkPoint cubic[4] = { fPrevPt, pt1, pt2, pt3 };
1426 bool degenerateAB = SkPath::IsLineDegenerate(fPrevPt, pt1);
1427 bool degenerateBC = SkPath::IsLineDegenerate(pt1, pt2);
1438 // find the first tangent (which might be pt1 or pt2
1440 const SkPoint* nextPt = &pt1;
1453 pts[1] = pt1;