Lines Matching refs:rrect
107 static void draw_rrect_color(SkCanvas* canvas, const SkRRect& rrect) { in draw_rrect_color() argument
112 if (rrect.isRect()) { in draw_rrect_color()
114 } else if (rrect.isOval()) { in draw_rrect_color()
116 } else if (rrect.isSimple()) { in draw_rrect_color()
121 canvas->drawRRect(rrect, paint); in draw_rrect_color()
124 static void drawrr(SkCanvas* canvas, const SkRRect& rrect, InsetProc proc) { in drawrr() argument
127 proc(rrect, d, d, &rr); in drawrr()
151 SkRRect rrect[4]; in onDraw() local
157 rrect[0].setRect(r); in onDraw()
158 rrect[1].setOval(r); in onDraw()
159 rrect[2].setRectXY(r, 20, 20); in onDraw()
160 rrect[3].setRectRadii(r, radii); in onDraw()
165 for (size_t i = 0; i < SK_ARRAY_COUNT(rrect); ++i) { in onDraw()
166 drawrr(canvas, rrect[i], insetProcs[j]); in onDraw()