7 paint.setAntiAlias(
true);
8 SkRect outer = {30, 40, 210, 220};
9 SkRect radii = {30, 50, 70, 90 };
REG_FIDDLE(Canvas_drawRRect, 256, 256, false, 0)
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint &paint)
void drawRRect(const SkRRect &rrect, const SkPaint &paint)
void setNinePatch(const SkRect &rect, SkScalar leftRad, SkScalar topRad, SkScalar rightRad, SkScalar bottomRad)
SkScalar fBottom
larger y-axis bounds
SkScalar fLeft
smaller x-axis bounds
SkScalar fRight
larger x-axis bounds
SkScalar fTop
smaller y-axis bounds