Flutter Engine
 
Loading...
Searching...
No Matches
flutter::SetStrokeWidthOp Struct Referencefinal

#include <dl_op_records.h>

Inheritance diagram for flutter::SetStrokeWidthOp:
flutter::DLOp

Public Member Functions

 SetStrokeWidthOp (float width)
 
void dispatch (DlOpReceiver &receiver) const
 
- Public Member Functions inherited from flutter::DLOp
 DLOp (DisplayListOpType type)
 
DisplayListCompare equals (const DLOp *other) const
 

Public Attributes

const float width
 
- Public Attributes inherited from flutter::DLOp
const DisplayListOpType type
 

Static Public Attributes

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

Detailed Description

Definition at line 118 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SetStrokeWidthOp()

flutter::SetStrokeWidthOp::SetStrokeWidthOp ( float  width)
inlineexplicit

Definition at line 121 of file dl_op_records.h.

121: DLOp(kType), width(width) {}
DLOp(DisplayListOpType type)
static constexpr auto kType

Member Function Documentation

◆ dispatch()

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

Definition at line 125 of file dl_op_records.h.

125 {
126 receiver.setStrokeWidth(width);
127 }

References flutter::DlOpReceiver::setStrokeWidth(), and width.

Member Data Documentation

◆ kType

constexpr auto flutter::SetStrokeWidthOp::kType = DisplayListOpType::kSetStrokeWidth
staticconstexpr

Definition at line 119 of file dl_op_records.h.

◆ width

const float flutter::SetStrokeWidthOp::width

Definition at line 123 of file dl_op_records.h.

Referenced by dispatch().


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