Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Region_setRegion |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Region_setRegion.cpp.
4 {
8 SkDebugf(
"%14s: {%d,%d,%d,%d}\n", label, r.fLeft, r.fTop, r.fRight, r.fBottom);
9 };
13 debugster(
"region bounds",
region);
14 debugster("region2 bounds", region2);
15 region2.setEmpty();
16 SkDebugf(
" after region set empty:\n");
17 debugster(
"region bounds",
region);
18 debugster("region2 bounds", region2);
19}
20}
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
bool setRegion(const SkRegion ®ion)
ClipOpAndAA opAA SkRegion region