Searched refs:shape_bounds (Results 1 – 1 of 1) sorted by relevance
/external/skia/modules/skottie/src/ |
D | SkottieTest.cpp | 488 const auto shape_bounds = ComputeShapeResultBounds(shape_result); in DEF_TEST() local 489 REPORTER_ASSERT(reporter, !shape_bounds.isEmpty()); in DEF_TEST() 491 const auto expected_l = text_point.x() - shape_bounds.width() * talign.l_selector; in DEF_TEST() 493 std::fabs(shape_bounds.left() - expected_l) < tsize.tolerance, in DEF_TEST() 494 "%f %f %f %f %d", shape_bounds.left(), expected_l, tsize.tolerance, in DEF_TEST() 497 const auto expected_r = text_point.x() + shape_bounds.width() * talign.r_selector; in DEF_TEST() 499 std::fabs(shape_bounds.right() - expected_r) < tsize.tolerance, in DEF_TEST() 500 "%f %f %f %f %d", shape_bounds.right(), expected_r, tsize.tolerance, in DEF_TEST() 557 const auto shape_bounds = ComputeShapeResultBounds(shape_result); in DEF_TEST() local 558 REPORTER_ASSERT(reporter, !shape_bounds.isEmpty()); in DEF_TEST() [all …]
|