Home
last modified time | relevance | path

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

/external/skia/experimental/Intersection/
DLineUtilities.cpp120 double one_t = 1 - t; in xy_at_t() local
122 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() local
131 _Point result = { one_t * line[0].x + t * line[1].x, one_t * line[0].y + t * line[1].y }; in xy_at_t()
DQuadraticUtilities.cpp235 double one_t = 1 - t; in xy_at_t() local
236 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() local
249 double a = one_t * one_t; in xy_at_t()
250 double b = 2 * one_t * t; in xy_at_t()
DCubicUtilities.cpp283 double one_t = 1 - t; in derivativeAtT() local
288 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() local
415 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()
/external/chromium_org/third_party/skia/experimental/Intersection/
DLineUtilities.cpp120 double one_t = 1 - t; in xy_at_t() local
122 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() local
131 _Point result = { one_t * line[0].x + t * line[1].x, one_t * line[0].y + t * line[1].y }; in xy_at_t()
DQuadraticUtilities.cpp235 double one_t = 1 - t; in xy_at_t() local
236 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() local
249 double a = one_t * one_t; in xy_at_t()
250 double b = 2 * one_t * t; in xy_at_t()
DCubicUtilities.cpp283 double one_t = 1 - t; in derivativeAtT() local
288 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() local
415 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()
/external/skia/src/pathops/
DSkPathOpsCubic.cpp298 double one_t = 1 - t; in derivative_at_t() local
303 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() local
399 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()
DSkPathOpsLine.cpp51 double one_t = 1 - t; in ptAtT() local
52 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()
/external/chromium_org/third_party/skia/src/pathops/
DSkPathOpsCubic.cpp298 double one_t = 1 - t; in derivative_at_t() local
303 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() local
399 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()
DSkPathOpsLine.cpp51 double one_t = 1 - t; in ptAtT() local
52 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()