Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkBlendModeBlender Class Reference

#include <SkBlendModeBlender.h>

Inheritance diagram for SkBlendModeBlender:
SkBlenderBase SkBlender SkFlattenable SkRefCnt SkRefCntBase

Public Member Functions

 SkBlendModeBlender (SkBlendMode mode)
 
BlenderType type () const override
 
SkBlendMode mode () const
 
- Public Member Functions inherited from SkBlenderBase
virtual std::optional< SkBlendModeasBlendMode () const
 
bool affectsTransparentBlack () const
 
bool appendStages (const SkStageRec &rec) const
 
virtual bool onAppendStages (const SkStageRec &rec) const =0
 
virtual SkRuntimeEffectasRuntimeEffect () const
 
SkFlattenable::Type getFlattenableType () const override
 
virtual BlenderType type () const =0
 
- Public Member Functions inherited from SkFlattenable
 SkFlattenable ()
 
virtual Factory getFactory () const =0
 
virtual const char * getTypeName () const =0
 
virtual void flatten (SkWriteBuffer &) const
 
virtual Type getFlattenableType () const =0
 
sk_sp< SkDataserialize (const SkSerialProcs *=nullptr) const
 
size_t serialize (void *memory, size_t memory_size, const SkSerialProcs *=nullptr) const
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Additional Inherited Members

- Public Types inherited from SkBlenderBase
enum class  BlenderType { M }
 
- Public Types inherited from SkFlattenable
enum  Type {
  kSkColorFilter_Type , kSkBlender_Type , kSkDrawable_Type , kSkDrawLooper_Type ,
  kSkImageFilter_Type , kSkMaskFilter_Type , kSkPathEffect_Type , kSkShader_Type
}
 
typedef sk_sp< SkFlattenable >(* Factory) (SkReadBuffer &)
 
- Static Public Member Functions inherited from SkBlenderBase
static SkFlattenable::Type GetFlattenableType ()
 
- Static Public Member Functions inherited from SkBlender
static sk_sp< SkBlenderMode (SkBlendMode mode)
 
- Static Public Member Functions inherited from SkFlattenable
static Factory NameToFactory (const char name[])
 
static const char * FactoryToName (Factory)
 
static void Register (const char name[], Factory)
 
static sk_sp< SkFlattenableDeserialize (Type, const void *data, size_t length, const SkDeserialProcs *procs=nullptr)
 

Detailed Description

Definition at line 21 of file SkBlendModeBlender.h.

Constructor & Destructor Documentation

◆ SkBlendModeBlender()

SkBlendModeBlender::SkBlendModeBlender ( SkBlendMode  mode)
inline

Definition at line 23 of file SkBlendModeBlender.h.

23: fMode(mode) {}
SkBlendMode mode() const

Member Function Documentation

◆ mode()

SkBlendMode SkBlendModeBlender::mode ( ) const
inline

Definition at line 26 of file SkBlendModeBlender.h.

26{ return fMode; }

◆ type()

BlenderType SkBlendModeBlender::type ( ) const
inlineoverridevirtual

Implements SkBlenderBase.

Definition at line 25 of file SkBlendModeBlender.h.

25{ return BlenderType::kBlendMode; }

The documentation for this class was generated from the following files: