Lines Matching defs:dst
56 static void joinNoEmptyChecks(SkRect* dst, const SkRect& src) {
57 dst->fLeft = std::min(dst->fLeft, src.fLeft);
58 dst->fTop = std::min(dst->fTop, src.fTop);
59 dst->fRight = std::max(dst->fRight, src.fRight);
60 dst->fBottom = std::max(dst->fBottom, src.fBottom);
470 int SkPath::getPoints(SkPoint dst[], int max) const {
474 SkASSERT(!max || dst);
476 sk_careful_memcpy(dst, fPathRef->points(), count * sizeof(SkPoint));
491 int SkPath::getVerbs(uint8_t dst[], int max) const {
495 SkASSERT(!max || dst);
498 memcpy(dst, fPathRef->verbsBegin(), count);
1547 void SkPath::offset(SkScalar dx, SkScalar dy, SkPath* dst) const {
1551 this->transform(matrix, dst);
1567 void SkPath::transform(const SkMatrix& matrix, SkPath* dst, SkApplyPerspectiveClip pc) const {
1569 if (dst != nullptr && dst != this) {
1570 *dst = *this;
1576 if (dst == nullptr) {
1577 dst = (SkPath*)this;
1625 dst->swap(tmp);
1626 SkPathRef::Editor ed(&dst->fPathRef);
1628 dst->setFirstDirection(SkPathFirstDirection::kUnknown);
1632 SkPathRef::CreateTransformedCopy(&dst->fPathRef, *fPathRef, matrix);
1634 if (this != dst) {
1635 dst->fLastMoveToIndex = fLastMoveToIndex;
1636 dst->fFillType = fFillType;
1637 dst->fIsVolatile = fIsVolatile;
1650 dst->setConvexity(convexity);
1653 dst->setFirstDirection(SkPathFirstDirection::kUnknown);
1659 dst->setFirstDirection(
1663 dst->setFirstDirection(this->getFirstDirection());
1665 dst->setFirstDirection(SkPathFirstDirection::kUnknown);
1669 SkDEBUGCODE(dst->validate();)
2702 SkPoint dst[10];
2703 int n = SkChopCubicAtYExtrema(pts, dst);
2706 w += winding_mono_cubic(&dst[i * 3], x, y, onCurveCount);
2861 SkPoint dst[5];
2865 n = SkChopQuadAtYExtrema(pts, dst);
2866 pts = dst;
2925 SkPoint dst[10];
2926 int n = SkChopCubicAtYExtrema(pts, dst);
2928 SkPoint* c = &dst[i * 3];