Flutter Engine
The Flutter Engine
|
#include <SkSGGradient.h>
Classes | |
struct | ColorStop |
Protected Member Functions | |
sk_sp< SkShader > | onRevalidateShader () final |
virtual sk_sp< SkShader > | onMakeShader (const std::vector< SkColor4f > &colors, const std::vector< SkScalar > &positions) const =0 |
Gradient ()=default | |
Protected Member Functions inherited from sksg::Shader | |
Shader () | |
SkRect | onRevalidate (InvalidationController *, const SkMatrix &) final |
virtual sk_sp< SkShader > | onRevalidateShader ()=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 | |
Public Member Functions inherited from sksg::Shader | |
~Shader () override | |
const sk_sp< SkShader > & | getShader () 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 Types inherited from sksg::Node | |
enum | InvalTraits { kBubbleDamage_Trait = 1 << 0 , kOverrideDamage_Trait = 1 << 1 } |
Gradient base class.
Definition at line 28 of file SkSGGradient.h.
|
protecteddefault |
|
protectedpure virtual |
Implemented in sksg::LinearGradient, and sksg::RadialGradient.
Implements sksg::Shader.
Definition at line 19 of file SkSGGradient.cpp.