Home
last modified time | relevance | path

Searched refs:one_t (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/pathops/
DSkPathOpsCubic.cpp466 double one_t = 1 - t; in derivative_at_t() local
471 return 3 * ((b - a) * one_t * one_t + 2 * (c - b) * t * one_t + (d - c) * t * t); in derivative_at_t()
550 double one_t = 1 - t; in ptAtT() local
551 double one_t2 = one_t * one_t; in ptAtT()
552 double a = one_t2 * one_t; in ptAtT()
555 double c = 3 * one_t * t2; in ptAtT()
DSkPathOpsLine.cpp44 double one_t = 1 - t; in ptAtT() local
45 SkDPoint result = { one_t * fPts[0].fX + t * fPts[1].fX, one_t * fPts[0].fY + t * fPts[1].fY }; in ptAtT()
DSkPathOpsQuad.cpp175 double one_t = 1 - t; in ptAtT() local
176 double a = one_t * one_t; in ptAtT()
177 double b = 2 * one_t * t; in ptAtT()