Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
flutter::SetColorOp Struct Referencefinal

#include <dl_op_records.h>

Inheritance diagram for flutter::SetColorOp:
flutter::DLOp

Public Member Functions

 SetColorOp (DlColor color)
 
void dispatch (DispatchContext &ctx) const
 
- Public Member Functions inherited from flutter::DLOp
DisplayListCompare equals (const DLOp *other) const
 

Public Attributes

const DlColor color
 
- Public Attributes inherited from flutter::DLOp
DisplayListOpType type: 8
 
uint32_t size: 24
 

Static Public Attributes

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

Detailed Description

Definition at line 182 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SetColorOp()

flutter::SetColorOp::SetColorOp ( DlColor  color)
inlineexplicit

Definition at line 185 of file dl_op_records.h.

185: color(color) {}
const DlColor color

Member Function Documentation

◆ dispatch()

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

Definition at line 189 of file dl_op_records.h.

189{ ctx.receiver.setColor(color); }

Member Data Documentation

◆ color

const DlColor flutter::SetColorOp::color

Definition at line 187 of file dl_op_records.h.

◆ kType

constexpr auto flutter::SetColorOp::kType = DisplayListOpType::kSetColor
staticconstexpr

Definition at line 183 of file dl_op_records.h.


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