Searched defs:DrawRegion (Results 1 – 2 of 2) sorted by relevance
41 DrawRegion, enumerator
249 struct DrawRegion final : Op { struct250 static const auto kType = Type::DrawRegion;251 DrawRegion(const SkRegion& region, const SkPaint& paint) : region(region), paint(paint) {} in DrawRegion() argument252 SkRegion region;253 SkPaint paint;254 void draw(SkCanvas* c, const SkMatrix&) const { c->drawRegion(region, paint); } in draw()