Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRecordingCanvas.cpp177 struct ClipRegion final : Op { struct
178 static const auto kType = Type::ClipRegion;
179 ClipRegion(const SkRegion& region, SkClipOp op) : region(region), op(op) {} in ClipRegion() function
180 SkRegion region;
181 SkClipOp op;
182 void draw(SkCanvas* c, const SkMatrix&) const { c->clipRegion(region, op); } in draw()