Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRecordingCanvas.cpp161 struct ClipRect final : Op { struct
162 static const auto kType = Type::ClipRect;
163 ClipRect(const SkRect& rect, SkClipOp op, bool aa) : rect(rect), op(op), aa(aa) {} in ClipRect() function
164 SkRect rect;
165 SkClipOp op;
166 bool aa;
167 void draw(SkCanvas* c, const SkMatrix&) const { c->clipRect(rect, op, aa); } in draw()