4REG_FIDDLE(Region_computeRegionComplexity, 256, 256,
true, 0) {
6 auto debugster = [](
const char* label,
const SkRegion&
region) ->
void {
10 debugster(
"initial",
region);
12 debugster(
"set rect",
region);
14 debugster(
"op rect",
region);
REG_FIDDLE(Region_computeRegionComplexity, 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)
@ kUnion_Op
target unioned with operand
int computeRegionComplexity() const
bool op(const SkIRect &rect, Op op)
bool setRect(const SkIRect &rect)
ClipOpAndAA opAA SkRegion region