Searched refs:one_t (Results 1 – 12 of 12) sorted by relevance
120 double one_t = 1 - t; in xy_at_t() local122 x = one_t * line[0].x + t * line[1].x; in xy_at_t()125 y = one_t * line[0].y + t * line[1].y; in xy_at_t()130 double one_t = 1 - t; in xy_at_t() local131 _Point result = { one_t * line[0].x + t * line[1].x, one_t * line[0].y + t * line[1].y }; in xy_at_t()
235 double one_t = 1 - t; in xy_at_t() local236 double a = one_t * one_t; in xy_at_t()237 double b = 2 * one_t * t; in xy_at_t()248 double one_t = 1 - t; in xy_at_t() local249 double a = one_t * one_t; in xy_at_t()250 double b = 2 * one_t * t; in xy_at_t()
283 double one_t = 1 - t; in derivativeAtT() local288 return 3 * ((b - a) * one_t * one_t + 2 * (c - b) * t * one_t + (d - c) * t * t); in derivativeAtT()414 double one_t = 1 - t; in xy_at_t() local415 double one_t2 = one_t * one_t; in xy_at_t()416 double a = one_t2 * one_t; in xy_at_t()419 double c = 3 * one_t * t2; in xy_at_t()
298 double one_t = 1 - t; in derivative_at_t() local303 return 3 * ((b - a) * one_t * one_t + 2 * (c - b) * t * one_t + (d - c) * t * t); in derivative_at_t()398 double one_t = 1 - t; in ptAtT() local399 double one_t2 = one_t * one_t; in ptAtT()400 double a = one_t2 * one_t; in ptAtT()403 double c = 3 * one_t * t2; in ptAtT()
51 double one_t = 1 - t; in ptAtT() local52 SkDPoint result = { one_t * fPts[0].fX + t * fPts[1].fX, one_t * fPts[0].fY + t * fPts[1].fY }; in ptAtT()
175 double one_t = 1 - t; in ptAtT() local176 double a = one_t * one_t; in ptAtT()177 double b = 2 * one_t * t; in ptAtT()