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

#include <dl_op_records.h>

Inheritance diagram for flutter::DrawArcOp:
flutter::DrawOpBase flutter::DLOp

Public Member Functions

 DrawArcOp (DlRect bounds, DlScalar start, DlScalar sweep, bool center)
 
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 DlRect bounds
 
const DlScalar start
 
const DlScalar sweep
 
const bool center
 
- Public Attributes inherited from flutter::DLOp
const DisplayListOpType type
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ DrawArcOp()

flutter::DrawArcOp::DrawArcOp ( DlRect  bounds,
DlScalar  start,
DlScalar  sweep,
bool  center 
)
inline

Definition at line 675 of file dl_op_records.h.

676 : DrawOpBase(kType),
677 bounds(bounds),
678 start(start),
679 sweep(sweep),
680 center(center) {}
const DlScalar sweep
static constexpr auto kType
const DlScalar start
const DlRect bounds
DrawOpBase(DisplayListOpType type)

Member Function Documentation

◆ dispatch()

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

Definition at line 687 of file dl_op_records.h.

687 {
688 receiver.drawArc(bounds, start, sweep, center);
689 }

References bounds, center, flutter::DlOpReceiver::drawArc(), start, and sweep.

Member Data Documentation

◆ bounds

const DlRect flutter::DrawArcOp::bounds

Definition at line 682 of file dl_op_records.h.

Referenced by dispatch().

◆ center

const bool flutter::DrawArcOp::center

Definition at line 685 of file dl_op_records.h.

Referenced by dispatch().

◆ kType

constexpr auto flutter::DrawArcOp::kType = DisplayListOpType::kDrawArc
staticconstexpr

Definition at line 673 of file dl_op_records.h.

◆ start

const DlScalar flutter::DrawArcOp::start

Definition at line 683 of file dl_op_records.h.

Referenced by dispatch().

◆ sweep

const DlScalar flutter::DrawArcOp::sweep

Definition at line 684 of file dl_op_records.h.

Referenced by dispatch().


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