Lines Matching refs:SkPoint
94 SkPathBuilder& SkPathBuilder::moveTo(SkPoint pt) { in moveTo()
106 SkPathBuilder& SkPathBuilder::lineTo(SkPoint pt) { in lineTo()
116 SkPathBuilder& SkPathBuilder::quadTo(SkPoint pt1, SkPoint pt2) { in quadTo()
119 SkPoint* p = fPts.push_back_n(2); in quadTo()
128 SkPathBuilder& SkPathBuilder::conicTo(SkPoint pt1, SkPoint pt2, SkScalar w) { in conicTo()
131 SkPoint* p = fPts.push_back_n(2); in conicTo()
141 SkPathBuilder& SkPathBuilder::cubicTo(SkPoint pt1, SkPoint pt2, SkPoint pt3) { in cubicTo()
144 SkPoint* p = fPts.push_back_n(3); in cubicTo()
168 SkPathBuilder& SkPathBuilder::rLineTo(SkPoint p1) { in rLineTo()
173 SkPathBuilder& SkPathBuilder::rQuadTo(SkPoint p1, SkPoint p2) { in rQuadTo()
175 SkPoint base = fPts.back(); in rQuadTo()
179 SkPathBuilder& SkPathBuilder::rConicTo(SkPoint p1, SkPoint p2, SkScalar w) { in rConicTo()
181 SkPoint base = fPts.back(); in rConicTo()
185 SkPathBuilder& SkPathBuilder::rCubicTo(SkPoint p1, SkPoint p2, SkPoint p3) { in rCubicTo()
187 SkPoint base = fPts.back(); in rCubicTo()
250 SkPoint* pt) { in arc_is_lone_point()
312 SkPoint* singlePt) { in build_arc_conics()
325 static bool nearly_equal(const SkPoint& a, const SkPoint& b) { in nearly_equal()
340 SkPoint lonePt; in arcTo()
349 SkPoint singlePt; in arcTo()
354 auto addPt = [forceMoveTo, this](const SkPoint& pt) { in arcTo()
382 const SkPoint& pt = conics[0].fPts[0]; in arcTo()
417 SkPathBuilder& SkPathBuilder::arcTo(SkPoint p1, SkPoint p2, SkScalar radius) { in arcTo()
425 SkPoint start = fPts.back(); in arcTo()
459 SkPathBuilder& SkPathBuilder::arcTo(SkPoint rad, SkScalar angle, SkPathBuilder::ArcSize arcLarge, in arcTo()
460 SkPathDirection arcSweep, SkPoint endPt) { in arcTo()
463 SkPoint srcPts[2] = { fPts.back(), endPt }; in arcTo()
484 SkPoint transformedMidPoint; in arcTo()
503 SkPoint unitPts[2]; in arcTo()
515 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo()
565 SkPoint mapped[2]; in arcTo()
573 for (SkPoint& point : mapped) { in arcTo()
598 const SkPoint& current() const { in current()
603 const SkPoint& next() { in next()
609 SkPoint fPts[N];
621 fPts[0] = SkPoint::Make(rect.fLeft, rect.fTop); in RectPointIterator()
622 fPts[1] = SkPoint::Make(rect.fRight, rect.fTop); in RectPointIterator()
623 fPts[2] = SkPoint::Make(rect.fRight, rect.fBottom); in RectPointIterator()
624 fPts[3] = SkPoint::Make(rect.fLeft, rect.fBottom); in RectPointIterator()
636 fPts[0] = SkPoint::Make(cx, oval.fTop); in OvalPointIterator()
637 fPts[1] = SkPoint::Make(oval.fRight, cy); in OvalPointIterator()
638 fPts[2] = SkPoint::Make(cx, oval.fBottom); in OvalPointIterator()
639 fPts[3] = SkPoint::Make(oval.fLeft, cy); in OvalPointIterator()
654 fPts[0] = SkPoint::Make(L + rrect.radii(SkRRect::kUpperLeft_Corner).fX, T); in RRectPointIterator()
655 fPts[1] = SkPoint::Make(R - rrect.radii(SkRRect::kUpperRight_Corner).fX, T); in RRectPointIterator()
656 fPts[2] = SkPoint::Make(R, T + rrect.radii(SkRRect::kUpperRight_Corner).fY); in RRectPointIterator()
657 fPts[3] = SkPoint::Make(R, B - rrect.radii(SkRRect::kLowerRight_Corner).fY); in RRectPointIterator()
658 fPts[4] = SkPoint::Make(R - rrect.radii(SkRRect::kLowerRight_Corner).fX, B); in RRectPointIterator()
659 fPts[5] = SkPoint::Make(L + rrect.radii(SkRRect::kLowerLeft_Corner).fX, B); in RRectPointIterator()
660 fPts[6] = SkPoint::Make(L, B - rrect.radii(SkRRect::kLowerLeft_Corner).fY); in RRectPointIterator()
661 fPts[7] = SkPoint::Make(L, T + rrect.radii(SkRRect::kUpperLeft_Corner).fY); in RRectPointIterator()
765 SkPathBuilder& SkPathBuilder::addPolygon(const SkPoint pts[], int count, bool isClosed) { in addPolygon()
778 SkPathBuilder& SkPathBuilder::polylineTo(const SkPoint pts[], int count) { in polylineTo()
783 memcpy(fPts.push_back_n(count), pts, count * sizeof(SkPoint)); in polylineTo()
801 SkPoint pts[4]; in addPath()
823 const SkPoint* pts = src.fPathRef->pointsEnd(); in privateReverseAddPath()