Lines Matching refs:rr1
54 SkRRect rr1;
55 rr1.setRect(rect);
57 REPORTER_ASSERT(reporter, SkRRect::kRect_Type == rr1.type());
58 REPORTER_ASSERT(reporter, rr1.rect() == rect);
61 REPORTER_ASSERT(reporter, zeroPt == rr1.radii((SkRRect::Corner) i));
66 REPORTER_ASSERT(reporter, rr1_2 == rr1 && rr1_2.getType() == rr1.getType());
69 REPORTER_ASSERT(reporter, rr1_3 == rr1 && rr1_3.getType() == rr1.getType());
165 SkRRect rr1;
166 rr1.setRectXY(rect, 0, 0);
168 REPORTER_ASSERT(reporter, SkRRect::kRect_Type == rr1.type());
169 r = rr1.rect();
195 SkRRect rr1;
196 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight));
198 REPORTER_ASSERT(reporter, SkRRect::kOval_Type == rr1.type());
199 oval = rr1.rect();
207 SkRRect rr1;
208 rr1.setRectXY(rect, 20, 20);
210 REPORTER_ASSERT(reporter, SkRRect::kSimple_Type == rr1.type());
229 SkRRect rr1;
230 rr1.setRectRadii(rect, radii);
232 REPORTER_ASSERT(reporter, SkRRect::kComplex_Type == rr1.type());
234 const SkPoint& p = rr1.radii(SkRRect::kUpperLeft_Corner);