8 paint.setAntiAlias(
true);
9 for (
auto alias: {
false,
true } ) {
REG_FIDDLE(Canvas_clipRect, 256, 128, false, 0)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
void translate(SkScalar dx, SkScalar dy)
void rotate(SkScalar degrees)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
static constexpr SkRect MakeWH(float w, float h)