Searched refs:Sk2s (Results 1 - 8 of 8) sorted by relevance

/external/skia/src/core/
H A DSkGeometry.h14 static inline Sk2s from_point(const SkPoint& point) {
15 return Sk2s::Load(&point);
18 static inline SkPoint to_point(const Sk2s& x) {
24 static Sk2s times_2(const Sk2s& value) {
275 SkQuadCoeff(const Sk2s& A, const Sk2s& B, const Sk2s& C)
284 Sk2s P1 = from_point(src[1]);
285 Sk2s P
[all...]
H A DSkGeometry.cpp12 static SkVector to_vector(const Sk2s& x) {
127 Sk2s P0 = from_point(src[0]);
128 Sk2s P1 = from_point(src[1]);
129 Sk2s P2 = from_point(src[2]);
131 Sk2s B = P1 - P0;
132 Sk2s A = P2 - P1 - B;
133 Sk2s T = A * Sk2s(t) + B;
138 static inline Sk2s interp(const Sk2s
[all...]
H A DSkScan_Hairline.cpp225 Sk2s t(0);
226 Sk2s dt(SK_Scalar1 / lines);
232 Sk2s A = coeff.fA;
233 Sk2s B = coeff.fB;
234 Sk2s C = coeff.fC;
246 Sk2s min = Sk2s::Load(pts);
247 Sk2s max = min;
249 Sk2s pair = Sk2s
[all...]
H A DSkMatrixPriv.h52 Sk2s trans(tx, ty);
54 (Sk2s::Load(&pts->fX) + trans).store(&pts->fX);
H A DSkPathRef.cpp754 Sk2s leftTop = Sk2s(fBounds.fLeft, fBounds.fTop);
755 Sk2s rightBot = Sk2s(fBounds.fRight, fBounds.fBottom);
757 Sk2s point = Sk2s(fPoints[i].fX, fPoints[i].fY);
H A DSkNx.h342 typedef SkNx<2, SkScalar> Sk2s; typedef
H A DSkPath.cpp3456 Sk2s min, max;
3484 Sk2s tmp = from_point(extremas[i]);
3485 min = Sk2s::Min(min, tmp);
3486 max = Sk2s::Max(max, tmp);
/external/skia/src/utils/
H A DSkPatchUtils.cpp52 Sk2s h = Sk2s(1.f / fDivisions);
53 Sk2s h2 = h * h;
54 Sk2s h3 = h2 * h;
55 Sk2s fwDiff3 = Sk2s(6) * fCoefs.fA * h3;

Completed in 224 milliseconds