Lines Matching refs:srcPt
1288 bool SkMatrix::Poly2Proc(const SkPoint srcPt[], SkMatrix* dst) { in Poly2Proc() argument
1289 dst->fMat[kMScaleX] = srcPt[1].fY - srcPt[0].fY; in Poly2Proc()
1290 dst->fMat[kMSkewY] = srcPt[0].fX - srcPt[1].fX; in Poly2Proc()
1293 dst->fMat[kMSkewX] = srcPt[1].fX - srcPt[0].fX; in Poly2Proc()
1294 dst->fMat[kMScaleY] = srcPt[1].fY - srcPt[0].fY; in Poly2Proc()
1297 dst->fMat[kMTransX] = srcPt[0].fX; in Poly2Proc()
1298 dst->fMat[kMTransY] = srcPt[0].fY; in Poly2Proc()
1304 bool SkMatrix::Poly3Proc(const SkPoint srcPt[], SkMatrix* dst) { in Poly3Proc() argument
1305 dst->fMat[kMScaleX] = srcPt[2].fX - srcPt[0].fX; in Poly3Proc()
1306 dst->fMat[kMSkewY] = srcPt[2].fY - srcPt[0].fY; in Poly3Proc()
1309 dst->fMat[kMSkewX] = srcPt[1].fX - srcPt[0].fX; in Poly3Proc()
1310 dst->fMat[kMScaleY] = srcPt[1].fY - srcPt[0].fY; in Poly3Proc()
1313 dst->fMat[kMTransX] = srcPt[0].fX; in Poly3Proc()
1314 dst->fMat[kMTransY] = srcPt[0].fY; in Poly3Proc()
1320 bool SkMatrix::Poly4Proc(const SkPoint srcPt[], SkMatrix* dst) { in Poly4Proc() argument
1324 x0 = srcPt[2].fX - srcPt[0].fX; in Poly4Proc()
1325 y0 = srcPt[2].fY - srcPt[0].fY; in Poly4Proc()
1326 x1 = srcPt[2].fX - srcPt[1].fX; in Poly4Proc()
1327 y1 = srcPt[2].fY - srcPt[1].fY; in Poly4Proc()
1328 x2 = srcPt[2].fX - srcPt[3].fX; in Poly4Proc()
1329 y2 = srcPt[2].fY - srcPt[3].fY; in Poly4Proc()
1361 dst->fMat[kMScaleX] = a2 * srcPt[3].fX + srcPt[3].fX - srcPt[0].fX; in Poly4Proc()
1362 dst->fMat[kMSkewY] = a2 * srcPt[3].fY + srcPt[3].fY - srcPt[0].fY; in Poly4Proc()
1365 dst->fMat[kMSkewX] = a1 * srcPt[1].fX + srcPt[1].fX - srcPt[0].fX; in Poly4Proc()
1366 dst->fMat[kMScaleY] = a1 * srcPt[1].fY + srcPt[1].fY - srcPt[0].fY; in Poly4Proc()
1369 dst->fMat[kMTransX] = srcPt[0].fX; in Poly4Proc()
1370 dst->fMat[kMTransY] = srcPt[0].fY; in Poly4Proc()