Searched refs:p2x (Results 1 - 9 of 9) sorted by last modified time

/external/skia/src/core/
H A DSkPath.cpp2473 double p2x = SkScalarToDouble(p2.fX); local
2477 (p1y - p0y) * (p2x - p0x));
/external/skia/experimental/AndroidPathRenderer/
H A DAndroidPathRenderer.cpp657 float p2x, float p2y, float c2x, float c2y,
659 float dx = p2x - p1x;
661 float d1 = sk_float_abs((c1x - p2x) * dy - (c1y - p2y) * dx);
662 float d2 = sk_float_abs((c2x - p2x) * dy - (c2y - p2y) * dx);
669 pushToVector(outputVertices, p2x, p2y);
673 float p2c2x = (p2x + c2x) * 0.5f;
694 p2x, p2y, p2c2x, p2c2y,
655 RecursiveCubicBezierVertices( float p1x, float p1y, float c1x, float c1y, float p2x, float p2y, float c2x, float c2y, float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices) argument
H A DAndroidPathRenderer.h85 float p2x, float p2y,
/external/fonttools/Lib/fontTools/misc/
H A DpsCharStrings.py1049 p2x = self.pop()
1062 self.push(p2x)
/external/fonttools/Tools/fontTools/misc/
H A DpsCharStrings.py1049 p2x = self.pop()
1062 self.push(p2x)
/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/
H A DAndroidPathRenderer.cpp657 float p2x, float p2y, float c2x, float c2y,
659 float dx = p2x - p1x;
661 float d1 = sk_float_abs((c1x - p2x) * dy - (c1y - p2y) * dx);
662 float d2 = sk_float_abs((c2x - p2x) * dy - (c2y - p2y) * dx);
669 pushToVector(outputVertices, p2x, p2y);
673 float p2c2x = (p2x + c2x) * 0.5f;
694 p2x, p2y, p2c2x, p2c2y,
655 RecursiveCubicBezierVertices( float p1x, float p1y, float c1x, float c1y, float p2x, float p2y, float c2x, float c2y, float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices) argument
H A DAndroidPathRenderer.h85 float p2x, float p2y,
/external/chromium_org/third_party/skia/src/core/
H A DSkPath.cpp2434 double p2x = SkScalarToDouble(p2.fX); local
2438 (p1y - p0y) * (p2x - p0x));
/external/chromium_org/third_party/WebKit/Source/platform/animation/
H A DUnitBezier.h36 UnitBezier(double p1x, double p1y, double p2x, double p2y) argument
40 bx = 3.0 * (p2x - p1x) - cx;
65 else if (!p1y && p2x > 0)
66 m_startGradient = p2y / p2x;
70 if (p2x < 1)
71 m_endGradient = (p2y - 1) / (p2x - 1);
72 else if (p2x == 1 && p1x < 1)

Completed in 286 milliseconds