Go to the source code of this file.
|
| REG_FIDDLE (Canvas_clipRegion, 256, 256, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Canvas_clipRegion |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Canvas_clipRegion.cpp.
4 {
7 paint.setAntiAlias(
true);
8 SkIRect iRect = {30, 40, 120, 130 };
18}
19}
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 clipRegion(const SkRegion &deviceRgn, SkClipOp op=SkClipOp::kIntersect)
void rotate(SkScalar degrees)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
ClipOpAndAA opAA SkRegion region
static SkRect Make(const SkISize &size)