Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
flutter::SkewOp Struct Referencefinal

#include <dl_op_records.h>

Inheritance diagram for flutter::SkewOp:
flutter::TransformClipOpBase flutter::DLOp

Public Member Functions

 SkewOp (SkScalar sx, SkScalar sy)
 
void dispatch (DispatchContext &ctx) const
 
- Public Member Functions inherited from flutter::TransformClipOpBase
bool op_needed (const DispatchContext &context) const
 
- Public Member Functions inherited from flutter::DLOp
DisplayListCompare equals (const DLOp *other) const
 

Public Attributes

const SkScalar sx
 
const SkScalar sy
 
- Public Attributes inherited from flutter::DLOp
DisplayListOpType type: 8
 
uint32_t size: 24
 

Static Public Attributes

static constexpr auto kType = DisplayListOpType::kSkew
 
- Static Public Attributes inherited from flutter::TransformClipOpBase
static constexpr uint32_t kDepthInc = 0
 
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 475 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SkewOp()

flutter::SkewOp::SkewOp ( SkScalar  sx,
SkScalar  sy 
)
inline

Definition at line 478 of file dl_op_records.h.

478: sx(sx), sy(sy) {}
const SkScalar sy
const SkScalar sx

Member Function Documentation

◆ dispatch()

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

Definition at line 483 of file dl_op_records.h.

483 {
484 if (op_needed(ctx)) {
485 ctx.receiver.skew(sx, sy);
486 }
487 }
bool op_needed(const DispatchContext &context) const

Member Data Documentation

◆ kType

constexpr auto flutter::SkewOp::kType = DisplayListOpType::kSkew
staticconstexpr

Definition at line 476 of file dl_op_records.h.

◆ sx

const SkScalar flutter::SkewOp::sx

Definition at line 480 of file dl_op_records.h.

◆ sy

const SkScalar flutter::SkewOp::sy

Definition at line 481 of file dl_op_records.h.


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