• Home
  • Raw
  • Download

Lines Matching refs:srcPt

1311 bool SkMatrix::Poly2Proc(const SkPoint srcPt[], SkMatrix* dst) {  in Poly2Proc()  argument
1312 dst->fMat[kMScaleX] = srcPt[1].fY - srcPt[0].fY; in Poly2Proc()
1313 dst->fMat[kMSkewY] = srcPt[0].fX - srcPt[1].fX; in Poly2Proc()
1316 dst->fMat[kMSkewX] = srcPt[1].fX - srcPt[0].fX; in Poly2Proc()
1317 dst->fMat[kMScaleY] = srcPt[1].fY - srcPt[0].fY; in Poly2Proc()
1320 dst->fMat[kMTransX] = srcPt[0].fX; in Poly2Proc()
1321 dst->fMat[kMTransY] = srcPt[0].fY; in Poly2Proc()
1327 bool SkMatrix::Poly3Proc(const SkPoint srcPt[], SkMatrix* dst) { in Poly3Proc() argument
1328 dst->fMat[kMScaleX] = srcPt[2].fX - srcPt[0].fX; in Poly3Proc()
1329 dst->fMat[kMSkewY] = srcPt[2].fY - srcPt[0].fY; in Poly3Proc()
1332 dst->fMat[kMSkewX] = srcPt[1].fX - srcPt[0].fX; in Poly3Proc()
1333 dst->fMat[kMScaleY] = srcPt[1].fY - srcPt[0].fY; in Poly3Proc()
1336 dst->fMat[kMTransX] = srcPt[0].fX; in Poly3Proc()
1337 dst->fMat[kMTransY] = srcPt[0].fY; in Poly3Proc()
1343 bool SkMatrix::Poly4Proc(const SkPoint srcPt[], SkMatrix* dst) { in Poly4Proc() argument
1347 x0 = srcPt[2].fX - srcPt[0].fX; in Poly4Proc()
1348 y0 = srcPt[2].fY - srcPt[0].fY; in Poly4Proc()
1349 x1 = srcPt[2].fX - srcPt[1].fX; in Poly4Proc()
1350 y1 = srcPt[2].fY - srcPt[1].fY; in Poly4Proc()
1351 x2 = srcPt[2].fX - srcPt[3].fX; in Poly4Proc()
1352 y2 = srcPt[2].fY - srcPt[3].fY; in Poly4Proc()
1384 dst->fMat[kMScaleX] = a2 * srcPt[3].fX + srcPt[3].fX - srcPt[0].fX; in Poly4Proc()
1385 dst->fMat[kMSkewY] = a2 * srcPt[3].fY + srcPt[3].fY - srcPt[0].fY; in Poly4Proc()
1388 dst->fMat[kMSkewX] = a1 * srcPt[1].fX + srcPt[1].fX - srcPt[0].fX; in Poly4Proc()
1389 dst->fMat[kMScaleY] = a1 * srcPt[1].fY + srcPt[1].fY - srcPt[0].fY; in Poly4Proc()
1392 dst->fMat[kMTransX] = srcPt[0].fX; in Poly4Proc()
1393 dst->fMat[kMTransY] = srcPt[0].fY; in Poly4Proc()