Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 239 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SetImageColorSourceOp()

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

Definition at line 242 of file dl_op_records.h.

243 : source(source->image(),
246 source->sampling(),
247 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 251 of file dl_op_records.h.

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

Member Data Documentation

◆ kType

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

Definition at line 240 of file dl_op_records.h.

◆ source

const DlImageColorSource flutter::SetImageColorSourceOp::source

Definition at line 249 of file dl_op_records.h.


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