Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 491 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

Member Function Documentation

◆ dispatch()

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

Definition at line 503 of file dl_op_records.h.

503 {
504 if (op_needed(ctx)) {
505 ctx.receiver.transform2DAffine(mxx, mxy, mxt, //
506 myx, myy, myt);
507 }
508 }
bool op_needed(const DispatchContext &context) const

Member Data Documentation

◆ kType

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

Definition at line 492 of file dl_op_records.h.

◆ mxt

const SkScalar flutter::Transform2DAffineOp::mxt

Definition at line 500 of file dl_op_records.h.

◆ mxx

const SkScalar flutter::Transform2DAffineOp::mxx

Definition at line 500 of file dl_op_records.h.

◆ mxy

const SkScalar flutter::Transform2DAffineOp::mxy

Definition at line 500 of file dl_op_records.h.

◆ myt

const SkScalar flutter::Transform2DAffineOp::myt

Definition at line 501 of file dl_op_records.h.

◆ myx

const SkScalar flutter::Transform2DAffineOp::myx

Definition at line 501 of file dl_op_records.h.

◆ myy

const SkScalar flutter::Transform2DAffineOp::myy

Definition at line 501 of file dl_op_records.h.


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