Searched defs:ClipRegion (Results 1 – 1 of 1) sorted by relevance
182 struct ClipRegion final : Op { struct183 static const auto kType = Type::ClipRegion;184 ClipRegion(const SkRegion& region, SkClipOp op) : region(region), op(op) {} in ClipRegion() argument185 SkRegion region;186 SkClipOp op;187 void draw(SkCanvas* c, const SkMatrix&) const { c->clipRegion(region, op); } in draw()