Go to the source code of this file.
|
| REG_FIDDLE (Canvas_clipRect_3, 256, 133, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Canvas_clipRect_3 |
, |
|
|
256 |
, |
|
|
133 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Canvas_clipRect_3.cpp.
4 {
8 paint.setAntiAlias(
true);
9 paint.setColor(0x8055aaff);
11 for (auto alias: { false, true } ) {
21 }
22}
23}
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