Flutter Engine
The Flutter Engine
|
#include <SkSGPaint.h>
Public Member Functions | |
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 |
Protected Member Functions | |
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 } |
Base class for nodes which provide a 'paint' (as opposed to geometry) for drawing (e.g. colors, gradients, patterns).
Roughly equivalent to Skia's SkPaint.
Definition at line 35 of file SkSGPaint.h.
|
protected |
Definition at line 21 of file SkSGPaint.cpp.
SkPaint sksg::PaintNode::makePaint | ( | ) | const |
Definition at line 23 of file SkSGPaint.cpp.
|
protectedpure virtual |
Implemented in sksg::Color, and sksg::ShaderPaint.