Searched defs:ClipRegion (Results 1 – 2 of 2) sorted by relevance
163 struct ClipRegion final : Op { struct164 static const auto kType = Type::ClipRegion;165 ClipRegion(const SkRegion& region, SkClipOp op) : region(region), op(op) {} in ClipRegion() argument166 SkRegion region;167 SkClipOp op;168 void draw(SkCanvas* c, const SkMatrix&) const { c->clipRegion(region, op); } in draw()
299 void trackBounds(const ClipRegion&) { this->pushControl(); } in trackBounds()