Searched defs:DrawRegion (Results 1 – 1 of 1) sorted by relevance
206 struct DrawRegion final : Op { struct207 static const auto kType = Type::DrawRegion;208 DrawRegion(const SkRegion& region, const SkPaint& paint) : region(region), paint(paint) {} in DrawRegion() function209 SkRegion region;210 SkPaint paint;211 void draw(SkCanvas* c, const SkMatrix&) const { c->drawRegion(region, paint); } in draw()