Flutter Engine
The Flutter Engine
|
#include <SkSGGroup.h>
Public Member Functions | |
void | addChild (sk_sp< RenderNode >) |
void | removeChild (const sk_sp< RenderNode > &) |
size_t | size () const |
bool | empty () const |
void | clear () |
Public Member Functions inherited from sksg::RenderNode | |
void | render (SkCanvas *, const RenderContext *=nullptr) const |
const RenderNode * | nodeAt (const SkPoint &point) const |
bool | isVisible () const |
void | setVisible (bool) |
Public Member Functions inherited from sksg::Node | |
const SkRect & | revalidate (InvalidationController *, const SkMatrix &) |
void | invalidate (bool damage=true) |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Static Public Member Functions | |
static sk_sp< Group > | Make () |
static sk_sp< Group > | Make (std::vector< sk_sp< RenderNode > > children) |
Protected Member Functions | |
Group () | |
Group (std::vector< sk_sp< RenderNode > >) | |
~Group () override | |
void | onRender (SkCanvas *, const RenderContext *) const override |
const RenderNode * | onNodeAt (const SkPoint &) const override |
SkRect | onRevalidate (InvalidationController *, const SkMatrix &) override |
Protected Member Functions inherited from sksg::RenderNode | |
RenderNode (uint32_t inval_traits=0) | |
virtual void | onRender (SkCanvas *, const RenderContext *) const =0 |
virtual const RenderNode * | onNodeAt (const SkPoint &p) const =0 |
Protected Member Functions inherited from sksg::Node | |
Node (uint32_t invalTraits) | |
~Node () override | |
const SkRect & | bounds () const |
bool | hasInval () const |
virtual SkRect | onRevalidate (InvalidationController *, const SkMatrix &ctm)=0 |
void | observeInval (const sk_sp< Node > &) |
void | unobserveInval (const sk_sp< Node > &) |
Additional Inherited Members | |
Protected Types inherited from sksg::Node | |
enum | InvalTraits { kBubbleDamage_Trait = 1 << 0 , kOverrideDamage_Trait = 1 << 1 } |
Concrete node, grouping together multiple descendants.
Definition at line 29 of file SkSGGroup.h.
|
protecteddefault |
|
explicitprotected |
Definition at line 25 of file SkSGGroup.cpp.
|
overrideprotected |
Definition at line 32 of file SkSGGroup.cpp.
void sksg::Group::addChild | ( | sk_sp< RenderNode > | node | ) |
Definition at line 45 of file SkSGGroup.cpp.
void sksg::Group::clear | ( | ) |
Definition at line 38 of file SkSGGroup.cpp.
|
inline |
Definition at line 43 of file SkSGGroup.h.
Definition at line 31 of file SkSGGroup.h.
|
inlinestatic |
Definition at line 35 of file SkSGGroup.h.
|
overrideprotectedvirtual |
Implements sksg::RenderNode.
Definition at line 78 of file SkSGGroup.cpp.
|
overrideprotectedvirtual |
Implements sksg::RenderNode.
Definition at line 68 of file SkSGGroup.cpp.
|
overrideprotectedvirtual |
Implements sksg::Node.
Definition at line 88 of file SkSGGroup.cpp.
void sksg::Group::removeChild | ( | const sk_sp< RenderNode > & | node | ) |
Definition at line 59 of file SkSGGroup.cpp.
|
inline |
Definition at line 42 of file SkSGGroup.h.