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