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

#include <dl_op_records.h>

Inheritance diagram for flutter::DrawColorOp:
flutter::DrawOpBase flutter::DLOp

Public Member Functions

 DrawColorOp (DlColor color, DlBlendMode mode)
 
void dispatch (DlOpReceiver &receiver) const
 
- Public Member Functions inherited from flutter::DrawOpBase
 DrawOpBase (DisplayListOpType type)
 
- Public Member Functions inherited from flutter::DLOp
 DLOp (DisplayListOpType type)
 
DisplayListCompare equals (const DLOp *other) const
 

Public Attributes

const DlColor color
 
const DlBlendMode mode
 
- Public Attributes inherited from flutter::DLOp
const DisplayListOpType type
 

Static Public Attributes

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

Detailed Description

Definition at line 563 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ DrawColorOp()

flutter::DrawColorOp::DrawColorOp ( DlColor  color,
DlBlendMode  mode 
)
inline

Definition at line 566 of file dl_op_records.h.

const DlBlendMode mode
static constexpr auto kType
DrawOpBase(DisplayListOpType type)

Member Function Documentation

◆ dispatch()

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

Definition at line 572 of file dl_op_records.h.

572 {
573 receiver.drawColor(color, mode);
574 }

References color, flutter::DlOpReceiver::drawColor(), and mode.

Member Data Documentation

◆ color

const DlColor flutter::DrawColorOp::color

Definition at line 569 of file dl_op_records.h.

Referenced by dispatch().

◆ kType

constexpr auto flutter::DrawColorOp::kType = DisplayListOpType::kDrawColor
staticconstexpr

Definition at line 564 of file dl_op_records.h.

◆ mode

const DlBlendMode flutter::DrawColorOp::mode

Definition at line 570 of file dl_op_records.h.

Referenced by dispatch().


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