Searched refs:srcPt (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/core/ |
D | SkMatrix.cpp | 1255 bool SkMatrix::Poly2Proc(const SkPoint srcPt[], SkMatrix* dst, in Poly2Proc() argument 1259 dst->fMat[kMScaleX] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc() 1260 dst->fMat[kMSkewY] = (srcPt[0].fX - srcPt[1].fX) * invScale; in Poly2Proc() 1262 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly2Proc() 1263 dst->fMat[kMScaleY] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc() 1265 dst->fMat[kMTransX] = srcPt[0].fX; in Poly2Proc() 1266 dst->fMat[kMTransY] = srcPt[0].fY; in Poly2Proc() 1272 bool SkMatrix::Poly3Proc(const SkPoint srcPt[], SkMatrix* dst, in Poly3Proc() argument 1275 dst->fMat[kMScaleX] = (srcPt[2].fX - srcPt[0].fX) * invScale; in Poly3Proc() 1276 dst->fMat[kMSkewY] = (srcPt[2].fY - srcPt[0].fY) * invScale; in Poly3Proc() [all …]
|
/external/skia/src/effects/gradients/ |
D | SkSweepGradient.cpp | 86 SkPoint srcPt; in shadeSpan() local 90 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan() 91 SkScalar dx, fx = srcPt.fX; in shadeSpan() 92 SkScalar dy, fy = srcPt.fY; in shadeSpan() 113 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan() 114 *dstC++ = cache[toggle + SkATan2_255(srcPt.fY, srcPt.fX)]; in shadeSpan()
|
D | SkTwoPointConicalGradient.cpp | 257 SkPoint srcPt; in shadeSpan() local 259 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan() 260 SkScalar dx, fx = srcPt.fX; in shadeSpan() 261 SkScalar dy, fy = srcPt.fY; in shadeSpan() 279 SkPoint srcPt; in shadeSpan() local 280 dstProc(fDstToIndex, dstX, dstY, &srcPt); in shadeSpan() 281 TwoPtRadialContext rec(twoPointConicalGradient.fRec, srcPt.fX, srcPt.fY, 0, 0); in shadeSpan()
|
D | SkRadialGradient.cpp | 196 SkPoint srcPt; in shadeSpan() local 204 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan() 224 (*shadeProc)(srcPt.fX, sdx, srcPt.fY, sdy, dstC, cache, count, toggle); in shadeSpan() 229 dstProc(fDstToIndex, dstX, dstY, &srcPt); in shadeSpan() 230 unsigned fi = proc(SkScalarToFixed(srcPt.length())); in shadeSpan()
|
D | SkLinearGradient.cpp | 301 SkPoint srcPt; in shadeSpan() local 309 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan() 310 SkGradFixed dx, fx = SkScalarToGradFixed(srcPt.fX); in shadeSpan() 336 dstProc(fDstToIndex, dstX, dstY, &srcPt); in shadeSpan() 337 unsigned fi = proc(SkScalarToFixed(srcPt.fX)); in shadeSpan() 724 SkPoint srcPt; in shade4_clamp() local 725 fDstToIndexProc(fDstToIndex, x + SK_ScalarHalf, y + SK_ScalarHalf, &srcPt); in shade4_clamp() 726 float fx = srcPt.x(); in shade4_clamp()
|