4REG_FIDDLE(Region_Cliperator_rect, 256, 256,
true, 0) {
8 auto r = clipper.
rect();
9 SkDebugf(
"%14s rect={%d,%d,%d,%d}\n", label, r.fLeft, r.fTop, r.fRight, r.fBottom);
12 debugster(
"empty region",
region);
14 debugster(
"after set rect",
region);
REG_FIDDLE(Region_Cliperator_rect, 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)
const SkIRect & rect() const
bool setRect(const SkIRect &rect)
ClipOpAndAA opAA SkRegion region