5REG_FIDDLE(Region_computeRegionComplexity, 256, 256,
true, 0) {
7 auto debugster = [](
const char* label,
const SkRegion& region) ->
void {
11 debugster(
"initial", region);
13 debugster(
"set rect", region);
15 debugster(
"op rect", region);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
@ kUnion_Op
target unioned with operand
int computeRegionComplexity() const
bool op(const SkIRect &rect, Op op)
bool setRect(const SkIRect &rect)
#define REG_FIDDLE(NAME, W, H, TEXT, I)