17 return root ? std::unique_ptr<Scene>(
new Scene(std::move(
root))) :
nullptr;
25 fRoot->render(canvas);
33 return fRoot->nodeAt(
p);
static const SkMatrix & I()
const RenderNode * nodeAt(const SkPoint &) const
Scene(const Scene &)=delete
void revalidate(InvalidationController *=nullptr)
static std::unique_ptr< Scene > Make(sk_sp< RenderNode > root)
void render(SkCanvas *) const