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

#include <dl_op_records.h>

Inheritance diagram for flutter::SetStyleOp:
flutter::DLOp

Public Member Functions

 SetStyleOp (DlDrawStyle style)
 
void dispatch (DispatchContext &ctx) const
 
- Public Member Functions inherited from flutter::DLOp
DisplayListCompare equals (const DLOp *other) const
 

Public Attributes

const DlDrawStyle style
 
- Public Attributes inherited from flutter::DLOp
DisplayListOpType type: 8
 
uint32_t size: 24
 

Static Public Attributes

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

Detailed Description

Definition at line 145 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SetStyleOp()

flutter::SetStyleOp::SetStyleOp ( DlDrawStyle  style)
inlineexplicit

Definition at line 148 of file dl_op_records.h.

148: style(style) {}
const DlDrawStyle style

Member Function Documentation

◆ dispatch()

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

Definition at line 152 of file dl_op_records.h.

152 {
153 ctx.receiver.setDrawStyle(style);
154 }

Member Data Documentation

◆ kType

constexpr auto flutter::SetStyleOp::kType = DisplayListOpType::kSetStyle
staticconstexpr

Definition at line 146 of file dl_op_records.h.

◆ style

const DlDrawStyle flutter::SetStyleOp::style

Definition at line 150 of file dl_op_records.h.


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