Lines Matching refs:meas
25 SkPathMeasure meas(path, false); in test_small_segment3() local
26 meas.getLength(); in test_small_segment3()
41 SkPathMeasure meas(path, false); in test_small_segment2() local
42 meas.getLength(); in test_small_segment2()
59 SkPathMeasure meas(path, false); in test_small_segment() local
74 meas.getLength(); in test_small_segment()
85 SkPathMeasure meas(path, true); in DEF_TEST() local
86 SkScalar length = meas.getLength(); in DEF_TEST()
92 meas.setPath(&path, false); in DEF_TEST()
93 length = meas.getLength(); in DEF_TEST()
98 meas.setPath(&path, true); in DEF_TEST()
99 length = meas.getLength(); in DEF_TEST()
109 meas.setPath(&path, false); in DEF_TEST()
110 length = meas.getLength(); in DEF_TEST()
112 meas.nextContour(); in DEF_TEST()
113 length = meas.getLength(); in DEF_TEST()
117 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
139 meas.setPath(&path, false); in DEF_TEST()
140 length = meas.getLength(); in DEF_TEST()
142 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
150 REPORTER_ASSERT(reporter, meas.getPosTan(2.5f, &position, &tangent)); in DEF_TEST()
157 REPORTER_ASSERT(reporter, meas.getPosTan(4.5f, &position, &tangent)); in DEF_TEST()
175 meas.setPath(&path, false); in DEF_TEST()
176 length = meas.getLength(); in DEF_TEST()
178 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
186 meas.nextContour(); in DEF_TEST()
187 length = meas.getLength(); in DEF_TEST()
189 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST()
227 SkPathMeasure meas(path, false); in DEF_TEST() local
229 REPORTER_ASSERT(reporter, !meas.nextContour()); in DEF_TEST()