Lines Matching refs:mid
118 SkVector mid = SkEvalQuadTangentAt(&pts[index * 3], .5f); in test_quad_tangents() local
121 REPORTER_ASSERT(reporter, mid.fX && mid.fY); in test_quad_tangents()
123 REPORTER_ASSERT(reporter, SkScalarNearlyZero(start.cross(mid))); in test_quad_tangents()
124 REPORTER_ASSERT(reporter, SkScalarNearlyZero(mid.cross(end))); in test_quad_tangents()
138 SkVector mid = conic.evalTangentAt(.5f); in test_conic_tangents() local
141 REPORTER_ASSERT(reporter, mid.fX && mid.fY); in test_conic_tangents()
143 REPORTER_ASSERT(reporter, SkScalarNearlyZero(start.cross(mid))); in test_conic_tangents()
144 REPORTER_ASSERT(reporter, SkScalarNearlyZero(mid.cross(end))); in test_conic_tangents()
157 SkVector start, mid, end; in test_cubic_tangents() local
159 SkEvalCubicAt(&pts[index * 4], .5f, nullptr, &mid, nullptr); in test_cubic_tangents()
162 REPORTER_ASSERT(reporter, mid.fX && mid.fY); in test_cubic_tangents()
164 REPORTER_ASSERT(reporter, SkScalarNearlyZero(start.cross(mid))); in test_cubic_tangents()
165 REPORTER_ASSERT(reporter, SkScalarNearlyZero(mid.cross(end))); in test_cubic_tangents()