Searched refs:p1y (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() 19 InitRange(p1y, p2y); in CubicBezier() 25 double p1y, in InitCoefficients() argument 34 cy_ = 3.0 * p1y; in InitCoefficients() 35 by_ = 3.0 * (p2y - p1y) - cy_; in InitCoefficients() 40 double p1y, in InitGradients() argument 60 start_gradient_ = p1y / p1x; in InitGradients() 61 else if (!p1y && p2x > 0) 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); 75 void InitRange(double p1y, double p2y);
|
/external/skia/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 254 const double p1y = fPts[1].fY; in init() local 261 const double p1ySqd = p1y * p1y; in init() 266 const double p01yProd = p0y * p1y; in init() 268 const double b12yProd = p1y * p2y; in init() 271 const double sqrtA = p0y - (2.0 * p1y) + p2y; in init() 273 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init() 286 const double f = -((p0xSqd * p2y) - (2.0 * p01xProd * p1y) in init() 288 + (4.0 * p02xProd * p1y) - (p02xProd * p2y) in init() 290 - (2.0 * b12xProd * p0y) - (2.0 * b12xProd * p1y) in init()
|
/external/skqp/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 282 const double p1y = fPts[1].y(); in init() local 289 const double p1ySqd = p1y * p1y; in init() 294 const double p01yProd = p0y * p1y; in init() 296 const double b12yProd = p1y * p2y; in init() 298 const double sqrtA = p0y - (2.0 * p1y) + p2y; in init() 300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init() 313 const double f = -((p0xSqd * p2y) - (2.0 * p01xProd * p1y) in init() 315 + (4.0 * p02xProd * p1y) - (p02xProd * p2y) in init() 317 - (2.0 * b12xProd * p0y) - (2.0 * b12xProd * p1y) in init()
|
/external/skqp/src/compute/skc/platforms/cl_12/kernels/ |
D | rasterize.cl | 1705 SKC_RASTERIZE_FLOAT p1y = round(SKC_LERP(o0y,o1y,p_t)); 1711 p1y = select(p1y,o1y,is_x_last); 1720 SKC_RASTERIZE_FLOAT p0y = skc_subgroup_shuffle_up_1(p1y_prev,p1y); 1732 p1y_prev = p1y; 1744 SKC_RASTERIZE_PREDICATE is_active = (p0y != p1y); 1844 SKC_RASTERIZE_INT const z1y = SKC_CONVERT(SKC_RASTERIZE_INT)(p1y);
|
/external/skia/src/core/ |
D | SkPath.cpp | 2384 double p1y = SkScalarToDouble(p1.fY); in cross_prod() local 2390 (p1y - p0y) * (p2x - p0x)); in cross_prod()
|
/external/skqp/src/core/ |
D | SkPath.cpp | 2999 double p1y = SkScalarToDouble(p1.fY); in cross_prod() local 3005 (p1y - p0y) * (p2x - p0x)); in cross_prod()
|