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

Inherits flutter::LayerStateStack::StateEntry.

Public Member Functions

 ClipPathEntry (const SkPath &clip_path, bool is_aa)
 
 ~ClipPathEntry () override=default
 
void apply (LayerStateStack *stack) const override
 
void update_mutators (MutatorsStack *mutators_stack) const override
 

Detailed Description

Definition at line 477 of file layer_state_stack.cc.

Constructor & Destructor Documentation

◆ ClipPathEntry()

flutter::ClipPathEntry::ClipPathEntry ( const SkPath clip_path,
bool  is_aa 
)
inline

Definition at line 479 of file layer_state_stack.cc.

480 : clip_path_(clip_path), is_aa_(is_aa) {}

◆ ~ClipPathEntry()

flutter::ClipPathEntry::~ClipPathEntry ( )
overridedefault

Member Function Documentation

◆ apply()

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

Definition at line 483 of file layer_state_stack.cc.

483 {
484 stack->delegate_->clipPath(clip_path_, DlCanvas::ClipOp::kIntersect,
485 is_aa_);
486 }

◆ update_mutators()

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

Definition at line 487 of file layer_state_stack.cc.

487 {
488 mutators_stack->PushClipPath(clip_path_);
489 }

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