Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRecordingCanvas.cpp318 struct DrawImage final : Op { struct
319 static const auto kType = Type::DrawImage;
320 DrawImage(sk_sp<const SkImage>&& image, SkScalar x, SkScalar y, const SkPaint* paint, in DrawImage() function
327 sk_sp<const SkImage> image;
328 SkScalar x, y;
329 SkPaint paint;
330 BitmapPalette palette;
331 void draw(SkCanvas* c, const SkMatrix&) const { c->drawImage(image.get(), x, y, &paint); } in draw()