Searched defs:ClipRegion (Results 1 – 2 of 2) sorted by relevance
166 struct ClipRegion final : Op { struct167 static const auto kType = Type::ClipRegion;168 ClipRegion(const SkRegion& region, SkClipOp op) : region(region), op(op) {} in ClipRegion() argument169 SkRegion region;170 SkClipOp op;171 void draw(SkCanvas* c, const SkMatrix&) { c->clipRegion(region, op); } in draw()
309 void trackBounds(const ClipRegion&) { this->pushControl(); } in trackBounds()