Searched defs:DrawDrawable (Results 1 – 1 of 1) sorted by relevance
268 struct DrawDrawable final : Op { struct269 static const auto kType = Type::DrawDrawable;270 DrawDrawable(SkDrawable* drawable, const SkMatrix* matrix) : drawable(sk_ref_sp(drawable)) { in DrawDrawable() argument275 sk_sp<SkDrawable> drawable;276 SkMatrix matrix = SkMatrix::I();277 void draw(SkCanvas* c, const SkMatrix&) const { c->drawDrawable(drawable.get(), &matrix); } in draw()