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

#include <dl_op_records.h>

Inheritance diagram for flutter::DrawDashedLineOp:
flutter::DrawOpBase flutter::DLOp

Public Member Functions

 DrawDashedLineOp (const DlPoint &p0, const DlPoint &p1, DlScalar on_length, DlScalar off_length)
 
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 DlPoint p0
 
const DlPoint p1
 
const DlScalar on_length
 
const DlScalar off_length
 
- Public Attributes inherited from flutter::DLOp
const DisplayListOpType type
 

Static Public Attributes

static constexpr auto kType = DisplayListOpType::kDrawDashedLine
 
- 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 648 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ DrawDashedLineOp()

flutter::DrawDashedLineOp::DrawDashedLineOp ( const DlPoint p0,
const DlPoint p1,
DlScalar  on_length,
DlScalar  off_length 
)
inline

Definition at line 651 of file dl_op_records.h.

655 : DrawOpBase(kType),
656 p0(p0),
657 p1(p1),
static constexpr auto kType
DrawOpBase(DisplayListOpType type)

Member Function Documentation

◆ dispatch()

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

Definition at line 666 of file dl_op_records.h.

666 {
667 receiver.drawDashedLine(p0, p1, on_length, off_length);
668 }

References flutter::DlOpReceiver::drawDashedLine(), off_length, on_length, p0, and p1.

Member Data Documentation

◆ kType

constexpr auto flutter::DrawDashedLineOp::kType = DisplayListOpType::kDrawDashedLine
staticconstexpr

Definition at line 649 of file dl_op_records.h.

◆ off_length

const DlScalar flutter::DrawDashedLineOp::off_length

Definition at line 664 of file dl_op_records.h.

Referenced by dispatch().

◆ on_length

const DlScalar flutter::DrawDashedLineOp::on_length

Definition at line 663 of file dl_op_records.h.

Referenced by dispatch().

◆ p0

const DlPoint flutter::DrawDashedLineOp::p0

Definition at line 661 of file dl_op_records.h.

Referenced by dispatch().

◆ p1

const DlPoint flutter::DrawDashedLineOp::p1

Definition at line 662 of file dl_op_records.h.

Referenced by dispatch().


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