Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Region_swap |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Region_swap.cpp.
5 {
9 SkDebugf(
"%14s: {%d,%d,%d,%d}\n", label, r.fLeft, r.fTop, r.fRight, r.fBottom);
10 };
13 region1.
swap(region2);
14 debugster("region1 bounds", region1);
15 debugster("region2 bounds", region2);
16}
17}
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
const SkIRect & getBounds() const
void swap(SkRegion &other)
ClipOpAndAA opAA SkRegion region