Lines Matching defs:dst

135     /** Returns SkMatrix set to scale and translate src to dst. ScaleToFit selects
136 whether mapping completely fills dst or preserves the aspect ratio, and how to
137 align src within dst. Returns the identity SkMatrix if src is empty. If dst is
145 @param dst SkRect to map to
147 @return SkMatrix mapping src to dst
149 static SkMatrix SK_WARN_UNUSED_RESULT RectToRect(const SkRect& src, const SkRect& dst,
151 return MakeRectToRect(src, dst, mode);
1134 /** Sets SkMatrix to scale and translate src SkRect to dst SkRect. stf selects whether
1135 mapping completely fills dst or preserves the aspect ratio, and how to align
1136 src within dst. Returns false if src is empty, and sets SkMatrix to identity.
1137 Returns true if dst is empty, and sets SkMatrix to:
1144 @param dst SkRect to map to
1149 bool setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf);
1151 /** Returns SkMatrix set to scale and translate src SkRect to dst SkRect. stf selects
1152 whether mapping completely fills dst or preserves the aspect ratio, and how to
1153 align src within dst. Returns the identity SkMatrix if src is empty. If dst is
1161 @param dst SkRect to map to
1162 @return SkMatrix mapping src to dst
1164 static SkMatrix MakeRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf) {
1166 m.setRectToRect(src, dst, stf);
1173 /** Sets SkMatrix to map src to dst. count must be zero or greater, and four or less.
1182 @param dst SkPoint to map to
1183 @param count number of SkPoint in src and dst
1188 bool setPolyToPoly(const SkPoint src[], const SkPoint dst[], int count);
1268 /** Maps src SkPoint array of length count to dst SkPoint array of equal or greater
1282 each dst SkPoint is computed as:
1288 src and dst may point to the same storage.
1290 @param dst storage for mapped SkPoint
1296 void mapPoints(SkPoint dst[], const SkPoint src[], int count) const;
1325 /** Maps src SkPoint3 array of length count to dst SkPoint3 array, which must of length count or
1332 each resulting dst SkPoint is computed as:
1338 @param dst storage for mapped SkPoint3 array
1344 void mapHomogeneousPoints(SkPoint3 dst[], const SkPoint3 src[], int count) const;
1349 void mapHomogeneousPoints(SkPoint3 dst[], const SkPoint src[], int count) const;
1456 each dst vector is computed as:
1462 src and dst may point to the same storage.
1464 @param dst storage for mapped vectors
1470 void mapVectors(SkVector dst[], const SkVector src[], int count) const;
1544 /** Sets dst to bounds of src corners mapped by SkMatrix.
1545 Returns true if mapped corners are dst corners.
1549 @param dst storage for bounds of mapped SkPoint
1552 @return true if dst is equivalent to mapped src
1556 bool mapRect(SkRect* dst, const SkRect& src,
1579 SkRect dst;
1580 (void)this->mapRect(&dst, src, pc);
1581 return dst;
1584 /** Maps four corners of rect to dst. SkPoint are mapped by multiplying each
1600 each dst SkPoint is computed as:
1606 @param dst storage for mapped corner SkPoint
1612 void mapRectToQuad(SkPoint dst[4], const SkRect& rect) const {
1614 rect.toQuad(dst);
1615 this->mapPoints(dst, 4);
1618 /** Sets dst to bounds of src corners mapped by SkMatrix. If matrix contains
1622 @param dst storage for bounds of mapped SkPoint
1627 void mapRectScaleTranslate(SkRect* dst, const SkRect& src) const;
1870 static void ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp);
1932 typedef void (*MapPtsProc)(const SkMatrix& mat, SkPoint dst[],
1961 static void Trans_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);
1962 static void Scale_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);
1963 static void ScaleTrans_pts(const SkMatrix&, SkPoint dst[], const SkPoint[],
1965 static void Persp_pts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);
1967 static void Affine_vpts(const SkMatrix&, SkPoint dst[], const SkPoint[], int);