Searched refs:p2x (Results 1 – 7 of 7) sorted by relevance
/external/libchrome/ui/gfx/geometry/ |
D | cubic_bezier.cc | 16 CubicBezier::CubicBezier(double p1x, double p1y, double p2x, double p2y) { in CubicBezier() argument 17 InitCoefficients(p1x, p1y, p2x, p2y); in CubicBezier() 18 InitGradients(p1x, p1y, p2x, p2y); in CubicBezier() 26 double p2x, in InitCoefficients() argument 31 bx_ = 3.0 * (p2x - p1x) - cx_; in InitCoefficients() 41 double p2x, in InitGradients() argument 61 else if (!p1y && p2x > 0) in InitGradients() 62 start_gradient_ = p2y / p2x; in InitGradients() 66 if (p2x < 1) in InitGradients() 67 end_gradient_ = (p2y - 1) / (p2x - 1); in InitGradients() [all …]
|
D | cubic_bezier.h | 15 CubicBezier(double p1x, double p1y, double p2x, double p2y); 73 void InitCoefficients(double p1x, double p1y, double p2x, double p2y); 74 void InitGradients(double p1x, double p1y, double p2x, double p2y);
|
/external/skia/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 221 const double p2x = p2.fX; in init() local 230 const double cosTheta = (p2x - p0x) / hypotenuse; in init() 258 const double p2xSqd = p2x * p2x; in init() 264 const double p02xProd = p0x * p2x; in init() 265 const double b12xProd = p1x * p2x; in init() 273 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init() 274 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init() 283 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init() 284 + (2.0 * p2x * p01yProd) + (p2x * p02yProd) in init() 285 - (2.0 * p2x * p1ySqd); in init()
|
/external/skqp/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 250 const double p2x = p2.x(); in init() local 259 const double cosTheta = (p2x - p0x) / hypotenuse; in init() 286 const double p2xSqd = p2x * p2x; in init() 292 const double p02xProd = p0x * p2x; in init() 293 const double b12xProd = p1x * p2x; in init() 300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init() 301 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init() 310 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init() 311 + (2.0 * p2x * p01yProd) + (p2x * p02yProd) in init() 312 - (2.0 * p2x * p1ySqd); in init()
|
/external/fonttools/Lib/fontTools/misc/ |
D | psCharStrings.py | 887 p2x = self.pop() 900 self.push(p2x)
|
/external/skia/src/core/ |
D | SkPath.cpp | 2386 double p2x = SkScalarToDouble(p2.fX); in cross_prod() local 2390 (p1y - p0y) * (p2x - p0x)); in cross_prod()
|
/external/skqp/src/core/ |
D | SkPath.cpp | 3001 double p2x = SkScalarToDouble(p2.fX); in cross_prod() local 3005 (p1y - p0y) * (p2x - p0x)); in cross_prod()
|