Searched refs:interp_cubic_coords (Results 1 – 2 of 2) sorted by relevance
/external/skia/experimental/docs/ |
D | interpolatorFunctions.js | 5 function interp_cubic_coords(x1, x2, x3, x4, t) function 30 var ax = interp_cubic_coords(x1, x2, x3, x4, t1); 31 var ay = interp_cubic_coords(y1, y2, y3, y4, t1); 32 var ex = interp_cubic_coords(x1, x2, x3, x4, (t1*2+t2)/3); 33 var ey = interp_cubic_coords(y1, y2, y3, y4, (t1*2+t2)/3); 34 var fx = interp_cubic_coords(x1, x2, x3, x4, (t1+t2*2)/3); 35 var fy = interp_cubic_coords(y1, y2, y3, y4, (t1+t2*2)/3); 36 var dx = interp_cubic_coords(x1, x2, x3, x4, t2); 37 var dy = interp_cubic_coords(y1, y2, y3, y4, t2);
|
/external/skia/src/pathops/ |
D | SkPathOpsCubic.cpp | 86 static void interp_cubic_coords(const double* src, double* dst, double t) { in interp_cubic_coords() function 120 interp_cubic_coords(&fPts[0].fX, &dst.pts[0].fX, t); in chopAt() 121 interp_cubic_coords(&fPts[0].fY, &dst.pts[0].fY, t); in chopAt() 652 static double interp_cubic_coords(const double* src, double t) { in interp_cubic_coords() function 672 double ax = dst[0].fX = interp_cubic_coords(&fPts[0].fX, t1); in subDivide() 673 double ay = dst[0].fY = interp_cubic_coords(&fPts[0].fY, t1); in subDivide() 674 double ex = interp_cubic_coords(&fPts[0].fX, (t1*2+t2)/3); in subDivide() 675 double ey = interp_cubic_coords(&fPts[0].fY, (t1*2+t2)/3); in subDivide() 676 double fx = interp_cubic_coords(&fPts[0].fX, (t1+t2*2)/3); in subDivide() 677 double fy = interp_cubic_coords(&fPts[0].fY, (t1+t2*2)/3); in subDivide() [all …]
|