Lines Matching refs:mid
119 SkVector mid = SkEvalQuadTangentAt(&pts[index * 3], .5f); in test_quad_tangents() local
122 REPORTER_ASSERT(reporter, mid.fX && mid.fY); in test_quad_tangents()
124 REPORTER_ASSERT(reporter, SkScalarNearlyZero(start.cross(mid))); in test_quad_tangents()
125 REPORTER_ASSERT(reporter, SkScalarNearlyZero(mid.cross(end))); in test_quad_tangents()
139 SkVector mid = conic.evalTangentAt(.5f); in test_conic_tangents() local
142 REPORTER_ASSERT(reporter, mid.fX && mid.fY); in test_conic_tangents()
144 REPORTER_ASSERT(reporter, SkScalarNearlyZero(start.cross(mid))); in test_conic_tangents()
145 REPORTER_ASSERT(reporter, SkScalarNearlyZero(mid.cross(end))); in test_conic_tangents()
197 SkVector start, mid, end; in test_cubic_tangents() local
199 SkEvalCubicAt(&pts[index * 4], .5f, nullptr, &mid, nullptr); in test_cubic_tangents()
202 REPORTER_ASSERT(reporter, mid.fX && mid.fY); in test_cubic_tangents()
204 REPORTER_ASSERT(reporter, SkScalarNearlyZero(start.cross(mid))); in test_cubic_tangents()
205 REPORTER_ASSERT(reporter, SkScalarNearlyZero(mid.cross(end))); in test_cubic_tangents()