Skia
2D Graphics Library
|
Holds a scene root. More...
#include <SkSGScene.h>
Public Member Functions | |
~Scene () | |
Scene (const Scene &)=delete | |
Scene & | operator= (const Scene &)=delete |
void | render (SkCanvas *) const |
void | revalidate (InvalidationController *=nullptr) |
const RenderNode * | nodeAt (const SkPoint &) const |
Static Public Member Functions | |
static std::unique_ptr< Scene > | Make (sk_sp< RenderNode > root) |
Holds a scene root.
Provides high-level methods for rendering.
sksg::Scene::~Scene | ( | ) |
|
delete |
|
static |
const RenderNode* sksg::Scene::nodeAt | ( | const SkPoint & | ) | const |
void sksg::Scene::render | ( | SkCanvas * | ) | const |
void sksg::Scene::revalidate | ( | InvalidationController * | = nullptr | ) |