Searched defs:DrawRegion (Results 1 – 1 of 1) sorted by relevance
191 struct DrawRegion final : Op { struct192 static const auto kType = Type::DrawRegion;193 DrawRegion(const SkRegion& region, const SkPaint& paint) : region(region), paint(paint) {} in DrawRegion() function194 SkRegion region;195 SkPaint paint;196 void draw(SkCanvas* c, const SkMatrix&) const { c->drawRegion(region, paint); } in draw()