Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
flutter::Transform2DAffineOp Struct Referencefinal

#include <dl_op_records.h>

Inheritance diagram for flutter::Transform2DAffineOp:
flutter::TransformClipOpBase flutter::DLOp

Public Member Functions

 Transform2DAffineOp (SkScalar mxx, SkScalar mxy, SkScalar mxt, SkScalar myx, SkScalar myy, SkScalar myt)
 
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 mxx
 
const SkScalar mxy
 
const SkScalar mxt
 
const SkScalar myx
 
const SkScalar myy
 
const SkScalar myt
 
- Public Attributes inherited from flutter::DLOp
DisplayListOpType type: 8
 
uint32_t size: 24
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ Transform2DAffineOp()

flutter::Transform2DAffineOp::Transform2DAffineOp ( SkScalar  mxx,
SkScalar  mxy,
SkScalar  mxt,
SkScalar  myx,
SkScalar  myy,
SkScalar  myt 
)
inline

Definition at line 499 of file dl_op_records.h.

Member Function Documentation

◆ dispatch()

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

Definition at line 507 of file dl_op_records.h.

507 {
508 if (op_needed(ctx)) {
509 ctx.receiver.transform2DAffine(mxx, mxy, mxt, //
510 myx, myy, myt);
511 }
512 }
bool op_needed(const DispatchContext &context) const

Member Data Documentation

◆ kType

constexpr auto flutter::Transform2DAffineOp::kType = DisplayListOpType::kTransform2DAffine
staticconstexpr

Definition at line 496 of file dl_op_records.h.

◆ mxt

const SkScalar flutter::Transform2DAffineOp::mxt

Definition at line 504 of file dl_op_records.h.

◆ mxx

const SkScalar flutter::Transform2DAffineOp::mxx

Definition at line 504 of file dl_op_records.h.

◆ mxy

const SkScalar flutter::Transform2DAffineOp::mxy

Definition at line 504 of file dl_op_records.h.

◆ myt

const SkScalar flutter::Transform2DAffineOp::myt

Definition at line 505 of file dl_op_records.h.

◆ myx

const SkScalar flutter::Transform2DAffineOp::myx

Definition at line 505 of file dl_op_records.h.

◆ myy

const SkScalar flutter::Transform2DAffineOp::myy

Definition at line 505 of file dl_op_records.h.


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