Flutter Engine
 
Loading...
Searching...
No Matches
flutter::SetImageColorSourceOp Struct Reference

#include <dl_op_records.h>

Inheritance diagram for flutter::SetImageColorSourceOp:
flutter::DLOp

Public Member Functions

 SetImageColorSourceOp (const DlImageColorSource *source)
 
void dispatch (DlOpReceiver &receiver) const
 
- Public Member Functions inherited from flutter::DLOp
 DLOp (DisplayListOpType type)
 
DisplayListCompare equals (const DLOp *other) const
 

Public Attributes

const DlImageColorSource source
 
- Public Attributes inherited from flutter::DLOp
const DisplayListOpType type
 

Static Public Attributes

static constexpr auto kType = DisplayListOpType::kSetImageColorSource
 
- Static Public Attributes inherited from flutter::DLOp
static constexpr uint32_t kDepthInc = 0
 
static constexpr uint32_t kRenderOpInc = 0
 

Detailed Description

Definition at line 199 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SetImageColorSourceOp()

flutter::SetImageColorSourceOp::SetImageColorSourceOp ( const DlImageColorSource source)
inlineexplicit

Definition at line 202 of file dl_op_records.h.

203 : DLOp(kType),
207 source->sampling(),
208 source->matrix_ptr()) {}
DlImageSampling sampling() const
DlTileMode horizontal_tile_mode() const
sk_sp< const DlImage > image() const
DLOp(DisplayListOpType type)
static constexpr auto kType
const DlImageColorSource source

Member Function Documentation

◆ dispatch()

void flutter::SetImageColorSourceOp::dispatch ( DlOpReceiver receiver) const
inline

Definition at line 212 of file dl_op_records.h.

212 {
213 receiver.setColorSource(&source);
214 }

References flutter::DlOpReceiver::setColorSource(), and source.

Member Data Documentation

◆ kType

constexpr auto flutter::SetImageColorSourceOp::kType = DisplayListOpType::kSetImageColorSource
staticconstexpr

Definition at line 200 of file dl_op_records.h.

◆ source

const DlImageColorSource flutter::SetImageColorSourceOp::source

Definition at line 210 of file dl_op_records.h.

Referenced by dispatch().


The documentation for this struct was generated from the following file: