Home
last modified time | relevance | path

Searched refs:p2y (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/ui/gfx/geometry/
Dcubic_bezier.cc16 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()
27 double p2y) { in InitCoefficients() argument
35 by_ = 3.0 * (p2y - p1y) - cy_; in InitCoefficients()
42 double p2y) { in InitGradients() argument
62 start_gradient_ = p2y / p2x; in InitGradients()
67 end_gradient_ = (p2y - 1) / (p2x - 1); in InitGradients()
78 void CubicBezier::InitRange(double p1y, double p2y) { in InitRange() argument
[all …]
Dcubic_bezier.h15 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/
DGrDistanceFieldGenFromVector.cpp222 const double p2y = p2.fY; in init() local
231 const double sinTheta = (p2y - p0y) / hypotenuse; in init()
259 const double p2ySqd = p2y * p2y; in init()
267 const double p02yProd = p0y * p2y; 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()
287 - (2.0 * p01xProd * p2y) - (p02xProd * p0y) in init()
288 + (4.0 * p02xProd * p1y) - (p02xProd * p2y) in init()
[all …]
/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp251 const double p2y = p2.y(); in init() local
260 const double sinTheta = (p2y - p0y) / hypotenuse; in init()
287 const double p2ySqd = p2y * p2y; in init()
295 const double p02yProd = p0y * p2y; 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()
314 - (2.0 * p01xProd * p2y) - (p02xProd * p0y) in init()
315 + (4.0 * p02xProd * p1y) - (p02xProd * p2y) in init()
[all …]
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py886 p2y = self.pop()
901 self.push(p2y)
/external/skia/src/core/
DSkPath.cpp2387 double p2y = SkScalarToDouble(p2.fY); in cross_prod() local
2389 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) - in cross_prod()
/external/skqp/src/core/
DSkPath.cpp3002 double p2y = SkScalarToDouble(p2.fY); in cross_prod() local
3004 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) - in cross_prod()