Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::TransformMatrixEntry Class Reference

Inherits flutter::LayerStateStack::StateEntry.

Public Member Functions

 TransformMatrixEntry (const SkMatrix &matrix)
 
void apply (LayerStateStack *stack) const override
 
void update_mutators (MutatorsStack *mutators_stack) const override
 

Detailed Description

Definition at line 391 of file layer_state_stack.cc.

Constructor & Destructor Documentation

◆ TransformMatrixEntry()

flutter::TransformMatrixEntry::TransformMatrixEntry ( const SkMatrix matrix)
inlineexplicit

Definition at line 393 of file layer_state_stack.cc.

393: matrix_(matrix) {}
unsigned useCenter Optional< SkMatrix > matrix
Definition: SkRecords.h:258

Member Function Documentation

◆ apply()

void flutter::TransformMatrixEntry::apply ( LayerStateStack stack) const
inlineoverride

Definition at line 395 of file layer_state_stack.cc.

395 {
396 stack->delegate_->transform(matrix_);
397 }

◆ update_mutators()

void flutter::TransformMatrixEntry::update_mutators ( MutatorsStack mutators_stack) const
inlineoverride

Definition at line 398 of file layer_state_stack.cc.

398 {
399 mutators_stack->PushTransform(matrix_);
400 }

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