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