Lines Matching refs:tangent
115 SkVector tangent; in DEF_TEST() local
116 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
122 REPORTER_ASSERT(reporter, tangent.fX == -SK_Scalar1); in DEF_TEST()
123 REPORTER_ASSERT(reporter, tangent.fY == 0); in DEF_TEST()
141 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
147 REPORTER_ASSERT(reporter, tangent.fX == SK_Scalar1); in DEF_TEST()
148 REPORTER_ASSERT(reporter, tangent.fY == 0); in DEF_TEST()
149 REPORTER_ASSERT(reporter, meas.getPosTan(2.5f, &position, &tangent)); in DEF_TEST()
154 REPORTER_ASSERT(reporter, tangent.fX == 0); in DEF_TEST()
155 REPORTER_ASSERT(reporter, tangent.fY == SK_Scalar1); in DEF_TEST()
156 REPORTER_ASSERT(reporter, meas.getPosTan(4.5f, &position, &tangent)); in DEF_TEST()
165 REPORTER_ASSERT(reporter, tangent.fX == SK_Scalar1); in DEF_TEST()
166 REPORTER_ASSERT(reporter, tangent.fY == 0); in DEF_TEST()
177 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
183 REPORTER_ASSERT(reporter, tangent.fX == SK_Scalar1); in DEF_TEST()
184 REPORTER_ASSERT(reporter, tangent.fY == 0); in DEF_TEST()
188 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
197 REPORTER_ASSERT(reporter, tangent.fX == -SK_Scalar1); in DEF_TEST()
198 REPORTER_ASSERT(reporter, tangent.fY == 0); in DEF_TEST()