Lines Matching refs:rr1

189     SkRRect rr1;  in test_round_rect_basic()  local
190 rr1.setRect(rect); in test_round_rect_basic()
192 REPORTER_ASSERT(reporter, SkRRect::kRect_Type == rr1.type()); in test_round_rect_basic()
193 REPORTER_ASSERT(reporter, rr1.rect() == rect); in test_round_rect_basic()
196 REPORTER_ASSERT(reporter, zeroPt == rr1.radii((SkRRect::Corner) i)); in test_round_rect_basic()
201 REPORTER_ASSERT(reporter, rr1_2 == rr1 && rr1_2.getType() == rr1.getType()); in test_round_rect_basic()
204 REPORTER_ASSERT(reporter, rr1_3 == rr1 && rr1_3.getType() == rr1.getType()); in test_round_rect_basic()
293 SkRRect rr1; in test_round_rect_rects() local
294 rr1.setRectXY(rect, 0, 0); in test_round_rect_rects()
296 REPORTER_ASSERT(reporter, SkRRect::kRect_Type == rr1.type()); in test_round_rect_rects()
297 r = rr1.rect(); in test_round_rect_rects()
323 SkRRect rr1; in test_round_rect_ovals() local
324 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); in test_round_rect_ovals()
326 REPORTER_ASSERT(reporter, SkRRect::kOval_Type == rr1.type()); in test_round_rect_ovals()
327 oval = rr1.rect(); in test_round_rect_ovals()
335 SkRRect rr1; in test_round_rect_general() local
336 rr1.setRectXY(rect, 20, 20); in test_round_rect_general()
338 REPORTER_ASSERT(reporter, SkRRect::kSimple_Type == rr1.type()); in test_round_rect_general()
357 SkRRect rr1; in test_round_rect_iffy_parameters() local
358 rr1.setRectRadii(rect, radii); in test_round_rect_iffy_parameters()
360 REPORTER_ASSERT(reporter, SkRRect::kComplex_Type == rr1.type()); in test_round_rect_iffy_parameters()
362 const SkPoint& p = rr1.radii(SkRRect::kUpperLeft_Corner); in test_round_rect_iffy_parameters()