Lines Matching refs:rrect
99 static void draw_rrect_color(SkCanvas* canvas, const SkRRect& rrect) { in draw_rrect_color() argument
104 if (rrect.isRect()) { in draw_rrect_color()
106 } else if (rrect.isOval()) { in draw_rrect_color()
108 } else if (rrect.isSimple()) { in draw_rrect_color()
113 canvas->drawRRect(rrect, paint); in draw_rrect_color()
116 static void drawrr(SkCanvas* canvas, const SkRRect& rrect, InsetProc proc) { in drawrr() argument
119 proc(rrect, d, d, &rr); in drawrr()
146 SkRRect rrect[4]; in onDraw() local
152 rrect[0].setRect(r); in onDraw()
153 rrect[1].setOval(r); in onDraw()
154 rrect[2].setRectXY(r, 20, 20); in onDraw()
155 rrect[3].setRectRadii(r, radii); in onDraw()
160 for (size_t i = 0; i < SK_ARRAY_COUNT(rrect); ++i) { in onDraw()
161 drawrr(canvas, rrect[i], insetProcs[j]); in onDraw()