Searched defs:tan3 (Results 1 - 2 of 2) sorted by relevance
/external/skia/src/gpu/ccpr/ |
H A D | GrCCGeometry.cpp | 277 const Sk2f& p3, Sk2f& tan0, Sk2f& tan3, Sk2f& c) { 279 tan3 = first_unless_nearly_zero(p3 - p2, p3 - p1); 282 Sk2f c2 = SkNx_fma(Sk2f(-1.5f), tan3, p3); 310 Sk2f tan0, tan3, c; local 311 if (is_cubic_nearly_quadratic(p0, p1, p2, p3, tan0, tan3, c)) { 463 const Sk2f& tan3, int maxFutureSubdivisions) { 464 // Find the T value whose tangent is perpendicular to the vector that bisects tan0 and -tan3. 465 Sk2f n = normalize(tan0) - normalize(tan3); 518 Sk2f tan3 = first_unless_nearly_zero(p3 - p2, p3 - p1); local 520 if (!is_convex_curve_monotonic(p0, tan0, p3, tan3)) { 276 is_cubic_nearly_quadratic(const Sk2f& p0, const Sk2f& p1, const Sk2f& p2, const Sk2f& p3, Sk2f& tan0, Sk2f& tan3, Sk2f& c) argument 461 chopCubicAtMidTangent(const Sk2f& p0, const Sk2f& p1, const Sk2f& p2, const Sk2f& p3, const Sk2f& tan0, const Sk2f& tan3, int maxFutureSubdivisions) argument 562 Sk2f tan0, tan3, c; local [all...] |
/external/skqp/src/gpu/ccpr/ |
H A D | GrCCGeometry.cpp | 277 const Sk2f& p3, Sk2f& tan0, Sk2f& tan3, Sk2f& c) { 279 tan3 = first_unless_nearly_zero(p3 - p2, p3 - p1); 282 Sk2f c2 = SkNx_fma(Sk2f(-1.5f), tan3, p3); 310 Sk2f tan0, tan3, c; local 311 if (is_cubic_nearly_quadratic(p0, p1, p2, p3, tan0, tan3, c)) { 463 const Sk2f& tan3, int maxFutureSubdivisions) { 464 // Find the T value whose tangent is perpendicular to the vector that bisects tan0 and -tan3. 465 Sk2f n = normalize(tan0) - normalize(tan3); 518 Sk2f tan3 = first_unless_nearly_zero(p3 - p2, p3 - p1); local 520 if (!is_convex_curve_monotonic(p0, tan0, p3, tan3)) { 276 is_cubic_nearly_quadratic(const Sk2f& p0, const Sk2f& p1, const Sk2f& p2, const Sk2f& p3, Sk2f& tan0, Sk2f& tan3, Sk2f& c) argument 461 chopCubicAtMidTangent(const Sk2f& p0, const Sk2f& p1, const Sk2f& p2, const Sk2f& p3, const Sk2f& tan0, const Sk2f& tan3, int maxFutureSubdivisions) argument 562 Sk2f tan0, tan3, c; local [all...] |
Completed in 188 milliseconds