Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
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 (DispatchContext &ctx) const
 
- Public Member Functions inherited from flutter::DLOp
DisplayListCompare equals (const DLOp *other) const
 

Public Attributes

const DlImageColorSource source
 
- Public Attributes inherited from flutter::DLOp
DisplayListOpType type: 8
 
uint32_t size: 24
 

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 238 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SetImageColorSourceOp()

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

Definition at line 241 of file dl_op_records.h.

242 : source(source->image(),
245 source->sampling(),
246 source->matrix_ptr()) {}
DlImageSampling sampling() const
DlTileMode vertical_tile_mode() const
DlTileMode horizontal_tile_mode() const
sk_sp< const DlImage > image() const
const SkMatrix * matrix_ptr() const
const DlImageColorSource source

Member Function Documentation

◆ dispatch()

void flutter::SetImageColorSourceOp::dispatch ( DispatchContext ctx) const
inline

Definition at line 250 of file dl_op_records.h.

250 {
251 ctx.receiver.setColorSource(&source);
252 }

Member Data Documentation

◆ kType

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

Definition at line 239 of file dl_op_records.h.

◆ source

const DlImageColorSource flutter::SetImageColorSourceOp::source

Definition at line 248 of file dl_op_records.h.


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