Searched defs:DrawImage (Results 1 – 1 of 1) sorted by relevance
300 struct DrawImage final : Op { struct301 static const auto kType = Type::DrawImage;302 DrawImage(sk_sp<const SkImage>&& image, SkScalar x, SkScalar y, const SkPaint* paint, in DrawImage() argument309 sk_sp<const SkImage> image;310 SkScalar x, y;311 SkPaint paint;312 BitmapPalette palette;313 void draw(SkCanvas* c, const SkMatrix&) const { c->drawImage(image.get(), x, y, &paint); } in draw()