Searched refs:halfPoint (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | RRectInPathTest.cpp | 233 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) }; in test_round_rect_basic() local 239 SkVector rr2_2_radii[4] = { { halfPoint.fX, halfPoint.fY }, { halfPoint.fX, halfPoint.fY }, in test_round_rect_basic() 240 { halfPoint.fX, halfPoint.fY }, { halfPoint.fX, halfPoint.fY } }; in test_round_rect_basic() 244 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic()
|
D | RoundRectTest.cpp | 191 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) }; in test_round_rect_basic() local 200 rr2.radii((SkRRect::Corner) i).equalsWithinTolerance(halfPoint)); in test_round_rect_basic() 203 SkVector rr2_2_radii[4] = { { halfPoint.fX, halfPoint.fY }, { halfPoint.fX, halfPoint.fY }, in test_round_rect_basic() 204 { halfPoint.fX, halfPoint.fY }, { halfPoint.fX, halfPoint.fY } }; in test_round_rect_basic() 208 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic()
|