Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRecordingCanvas.cpp182 struct ClipRegion final : Op { struct
183 static const auto kType = Type::ClipRegion;
184 ClipRegion(const SkRegion& region, SkClipOp op) : region(region), op(op) {} in ClipRegion() argument
185 SkRegion region;
186 SkClipOp op;
187 void draw(SkCanvas* c, const SkMatrix&) const { c->clipRegion(region, op); } in draw()