Go to the source code of this file.
|
| REG_FIDDLE (Region_Iterator_next, 256, 256, true, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Region_Iterator_next |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Region_Iterator_next.cpp.
5 {
8 SkIRect rects[] = {{1, 2, 3, 4}, {5, 6, 7, 8}};
11 do {
12 auto r2 = iter.rect();
13 SkDebugf(
"rect={%d,%d,%d,%d}\n", r2.fLeft, r2.fTop, r2.fRight, r2.fBottom);
14 iter.next();
15 } while (!iter.done());
16}
17}
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
bool setRects(const SkIRect rects[], int count)
ClipOpAndAA opAA SkRegion region