8 paint.setAntiAlias(
true);
9 paint.setColor(0x8055aaff);
11 for (
auto alias: {
false,
true } ) {
REG_FIDDLE(Canvas_clipRect_3, 256, 133, false, 0)
constexpr SkColor SK_ColorWHITE
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 clear(SkColor color)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
clipRect(r.rect, r.opAA.op(), r.opAA.aa())) template<> void Draw