Home
last modified time | relevance | path

Searched refs:p1x (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp280 const double p1x = fPts[1].x(); in init() local
287 const double p1xSqd = p1x * p1x; in init()
290 const double p01xProd = p0x * p1x; in init()
292 const double b12xProd = p1x * p2x; in init()
299 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
300 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
308 + (2.0 * p1x * p01yProd) - (4.0 * p1x * p02yProd) in init()
309 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
/external/skia/src/core/
DSkPath.cpp2592 double p1x = SkScalarToDouble(p1.fX); in cross_prod() local
2598 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) - in cross_prod()