Flutter Engine
The Flutter Engine
|
#include <SkSGPaint.h>
Public Member Functions | |
~ShaderPaint () override | |
Public Member Functions inherited from sksg::PaintNode | |
SkPaint | makePaint () const |
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< ShaderPaint > | Make (sk_sp< Shader >) |
Protected Member Functions | |
SkRect | onRevalidate (InvalidationController *, const SkMatrix &) override |
void | onApplyToPaint (SkPaint *) const override |
Protected Member Functions inherited from sksg::PaintNode | |
PaintNode () | |
virtual void | onApplyToPaint (SkPaint *) 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 } |
Shader-based paint.
Definition at line 91 of file SkSGPaint.h.
|
override |
Definition at line 70 of file SkSGPaint.cpp.
|
static |
Definition at line 60 of file SkSGPaint.cpp.
|
overrideprotectedvirtual |
Implements sksg::PaintNode.
Definition at line 80 of file SkSGPaint.cpp.
|
overrideprotectedvirtual |
Implements sksg::Node.
Definition at line 74 of file SkSGPaint.cpp.