5REG_FIDDLE(Region_Spanerator_next, 256, 256,
true, 0) {
7 auto debugster = [](
const char* label,
SkRegion& region) ->
void {
16 debugster(
"empty region", region);
18 debugster(
"after set rect", region);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static bool left(const SkPoint &p0, const SkPoint &p1)
static bool right(const SkPoint &p0, const SkPoint &p1)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
bool next(int *left, int *right)
bool setRect(const SkIRect &rect)
#define REG_FIDDLE(NAME, W, H, TEXT, I)