8#ifndef SkSGGroup_DEFINED
9#define SkSGGroup_DEFINED
24class InvalidationController;
42 size_t size()
const {
return fChildren.size(); }
43 bool empty()
const {
return fChildren.empty(); }
57 std::vector<sk_sp<RenderNode>> fChildren;
58 bool fRequiresIsolation =
true;
SkRect onRevalidate(InvalidationController *, const SkMatrix &) override
void removeChild(const sk_sp< RenderNode > &)
void onRender(SkCanvas *, const RenderContext *) const override
void addChild(sk_sp< RenderNode >)
const RenderNode * onNodeAt(const SkPoint &) const override
static sk_sp< Group > Make(std::vector< sk_sp< RenderNode > > children)
static sk_sp< Group > Make()