Lines Matching refs:lastPt
480 const SkPoint* lastPt = nullptr; // last point in the rect (last of lines or first if closed) in isRectContour() local
500 lastPt = pts; in isRectContour()
571 closeXY = *firstPt - *lastPt; in isRectContour()
595 closeXY = *firstPt - *lastPt; in isRectContour()
705 bool SkPath::getLastPt(SkPoint* lastPt) const { in getLastPt()
710 if (lastPt) { in getLastPt()
711 *lastPt = fPathRef->atPoint(count - 1); in getLastPt()
715 if (lastPt) { in getLastPt()
716 lastPt->set(0, 0); in getLastPt()
1357 SkPoint lastPt; in arcTo() local
1360 } else if (!this->getLastPt(&lastPt) || in arcTo()
1361 !SkScalarNearlyEqual(lastPt.fX, pt.fX) || in arcTo()
1362 !SkScalarNearlyEqual(lastPt.fY, pt.fY)) { in arcTo()
1622 SkPoint lastPt; in addPath() local
1624 if (fLastMoveToIndex < 0 || !this->getLastPt(&lastPt) || lastPt != pts[0]) { in addPath()
2002 SkPoint lastPt = fLastPt; in consumeDegenerateSegments() local
2011 lastPt = fPts[0]; in consumeDegenerateSegments()
2027 if (!IsLineDegenerate(lastPt, fPts[0], exact)) { in consumeDegenerateSegments()
2043 if (!IsQuadDegenerate(lastPt, fPts[0], fPts[1], exact)) { in consumeDegenerateSegments()
2059 if (!IsCubicDegenerate(lastPt, fPts[0], fPts[1], fPts[2], exact)) { in consumeDegenerateSegments()