Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/canvas/
DCanvasOpTypes.h41 DrawRegion, enumerator
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp249 struct DrawRegion final : Op { struct
250 static const auto kType = Type::DrawRegion;
251 DrawRegion(const SkRegion& region, const SkPaint& paint) : region(region), paint(paint) {} in DrawRegion() argument
252 SkRegion region;
253 SkPaint paint;
254 void draw(SkCanvas* c, const SkMatrix&) const { c->drawRegion(region, paint); } in draw()