Searched refs:Sk2s (Results 1 – 4 of 4) sorted by relevance
13 static Sk2s from_point(const SkPoint& point) {14 return Sk2s::Load(&point.fX);17 static SkPoint to_point(const Sk2s& x) {24 static SkVector to_vector(const Sk2s& x) { in to_vector()113 static Sk2s quad_poly_eval(const Sk2s& A, const Sk2s& B, const Sk2s& C, const Sk2s& t) { in quad_poly_eval()141 Sk2s p0 = from_point(pts[0]); in SkQuadToCoeff()142 Sk2s p1 = from_point(pts[1]); in SkQuadToCoeff()143 Sk2s p2 = from_point(pts[2]); in SkQuadToCoeff()145 Sk2s p1minus2 = p1 - p0; in SkQuadToCoeff()169 const Sk2s t2(t); in SkEvalQuadAt()[all …]
225 Sk2s t(0); in hairquad()226 Sk2s dt(SK_Scalar1 / lines); in hairquad()232 Sk2s A = Sk2s::Load(&coeff[0].fX); in hairquad()233 Sk2s B = Sk2s::Load(&coeff[1].fX); in hairquad()234 Sk2s C = Sk2s::Load(&coeff[2].fX); in hairquad()243 static inline Sk2s abs(const Sk2s& value) { in abs()244 return Sk2s::Max(value, -value); in abs()247 static inline SkScalar max_component(const Sk2s& value) { in max_component()254 Sk2s p0 = from_point(pts[0]); in compute_cubic_segs()255 Sk2s p1 = from_point(pts[1]); in compute_cubic_segs()[all …]
14 static inline Sk2s from_point(const SkPoint& point) { in from_point()15 return Sk2s::Load(&point.fX); in from_point()18 static inline SkPoint to_point(const Sk2s& x) { in to_point()24 static inline Sk2s sk2s_cubic_eval(const Sk2s& A, const Sk2s& B, const Sk2s& C, const Sk2s& D, in sk2s_cubic_eval()25 const Sk2s& t) { in sk2s_cubic_eval()
279 typedef SkNf<2, SkScalar> Sk2s; typedef