Lines Matching refs:lastPt
511 bool SkPath::getLastPt(SkPoint* lastPt) const {
516 if (lastPt) {
517 *lastPt = fPathRef->atPoint(count - 1);
521 if (lastPt) {
522 lastPt->set(0, 0);
1117 SkPoint lastPt;
1120 } else if (!this->getLastPt(&lastPt) ||
1121 !SkScalarNearlyEqual(lastPt.fX, pt.fX) ||
1122 !SkScalarNearlyEqual(lastPt.fY, pt.fY)) {
1411 SkPoint lastPt;
1413 if (fLastMoveToIndex < 0 || !this->getLastPt(&lastPt) ||
1414 lastPt != mappedPts[0]) {
3508 const SkPoint* lastPt = nullptr; // last point in the rect (last of lines or first if closed)
3529 lastPt = pts;
3600 closeXY = *firstPt - *lastPt;
3624 closeXY = *firstPt - *lastPt;