6 auto debugster = [](
const char* label,
const SkRegion&
region) ->
void {
10 debugster(
"initial",
region);
12 debugster(
"set rect",
region);
14 debugster(
"set empty",
region);
REG_FIDDLE(Region_isRect, 256, 256, true, 0)
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
bool setRect(const SkIRect &rect)
ClipOpAndAA opAA SkRegion region