Home
last modified time | relevance | path

Searched defs:DrawImage (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
DRecordingCanvas.cpp300 struct DrawImage final : Op { struct
301 static const auto kType = Type::DrawImage;
302 DrawImage(sk_sp<const SkImage>&& image, SkScalar x, SkScalar y, const SkPaint* paint, in DrawImage() argument
309 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()