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

Inherits flutter::LayerStateStack::StateEntry.

Public Member Functions

 ClipRRectEntry (const SkRRect &clip_rrect, bool is_aa)
 
void apply (LayerStateStack *stack) const override
 
void update_mutators (MutatorsStack *mutators_stack) const override
 

Detailed Description

Definition at line 457 of file layer_state_stack.cc.

Constructor & Destructor Documentation

◆ ClipRRectEntry()

flutter::ClipRRectEntry::ClipRRectEntry ( const SkRRect clip_rrect,
bool  is_aa 
)
inline

Definition at line 459 of file layer_state_stack.cc.

460 : clip_rrect_(clip_rrect), is_aa_(is_aa) {}

Member Function Documentation

◆ apply()

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

Definition at line 462 of file layer_state_stack.cc.

462 {
463 stack->delegate_->clipRRect(clip_rrect_, DlCanvas::ClipOp::kIntersect,
464 is_aa_);
465 }

◆ update_mutators()

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

Definition at line 466 of file layer_state_stack.cc.

466 {
467 mutators_stack->PushClipRRect(clip_rrect_);
468 }

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