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

Inherits flutter::LayerStateStack::StateEntry.

Public Member Functions

 TransformM44Entry (const SkM44 &m44)
 
void apply (LayerStateStack *stack) const override
 
void update_mutators (MutatorsStack *mutators_stack) const override
 

Detailed Description

Definition at line 408 of file layer_state_stack.cc.

Constructor & Destructor Documentation

◆ TransformM44Entry()

flutter::TransformM44Entry::TransformM44Entry ( const SkM44 m44)
inlineexplicit

Definition at line 410 of file layer_state_stack.cc.

410: m44_(m44) {}

Member Function Documentation

◆ apply()

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

Definition at line 412 of file layer_state_stack.cc.

412 {
413 stack->delegate_->transform(m44_);
414 }

◆ update_mutators()

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

Definition at line 415 of file layer_state_stack.cc.

415 {
416 mutators_stack->PushTransform(m44_.asM33());
417 }
SkMatrix asM33() const
Definition: SkM44.h:409

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