• Home
  • Raw
  • Download

Lines Matching refs:rr1

192     SkRRect rr1;  in test_round_rect_basic()  local
193 rr1.setRect(rect); in test_round_rect_basic()
195 REPORTER_ASSERT(reporter, SkRRect::kRect_Type == rr1.type()); in test_round_rect_basic()
196 REPORTER_ASSERT(reporter, rr1.rect() == rect); in test_round_rect_basic()
199 REPORTER_ASSERT(reporter, zeroPt == rr1.radii((SkRRect::Corner) i)); in test_round_rect_basic()
204 REPORTER_ASSERT(reporter, rr1_2 == rr1 && rr1_2.getType() == rr1.getType()); in test_round_rect_basic()
207 REPORTER_ASSERT(reporter, rr1_3 == rr1 && rr1_3.getType() == rr1.getType()); in test_round_rect_basic()
296 SkRRect rr1; in test_round_rect_rects() local
297 rr1.setRectXY(rect, 0, 0); in test_round_rect_rects()
299 REPORTER_ASSERT(reporter, SkRRect::kRect_Type == rr1.type()); in test_round_rect_rects()
300 r = rr1.rect(); in test_round_rect_rects()
326 SkRRect rr1; in test_round_rect_ovals() local
327 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); in test_round_rect_ovals()
329 REPORTER_ASSERT(reporter, SkRRect::kOval_Type == rr1.type()); in test_round_rect_ovals()
330 oval = rr1.rect(); in test_round_rect_ovals()
338 SkRRect rr1; in test_round_rect_general() local
339 rr1.setRectXY(rect, 20, 20); in test_round_rect_general()
341 REPORTER_ASSERT(reporter, SkRRect::kSimple_Type == rr1.type()); in test_round_rect_general()
360 SkRRect rr1; in test_round_rect_iffy_parameters() local
361 rr1.setRectRadii(rect, radii); in test_round_rect_iffy_parameters()
363 REPORTER_ASSERT(reporter, SkRRect::kComplex_Type == rr1.type()); in test_round_rect_iffy_parameters()
365 const SkPoint& p = rr1.radii(SkRRect::kUpperLeft_Corner); in test_round_rect_iffy_parameters()