Flutter Engine
flutter::SceneUpdateContext::Clip Class Reference

#include <scene_update_context.h>

Inheritance diagram for flutter::SceneUpdateContext::Clip:
flutter::SceneUpdateContext::Entity

Public Member Functions

 Clip (std::shared_ptr< SceneUpdateContext > context, const SkRect &shape_bounds)
 
 ~Clip ()=default
 
- Public Member Functions inherited from flutter::SceneUpdateContext::Entity
 Entity (std::shared_ptr< SceneUpdateContext > context)
 
virtual ~Entity ()
 
std::shared_ptr< SceneUpdateContextcontext ()
 
scenic::EntityNode & entity_node ()
 
virtual scenic::ContainerNode & embedder_node ()
 

Detailed Description

Definition at line 106 of file scene_update_context.h.

Constructor & Destructor Documentation

◆ Clip()

flutter::SceneUpdateContext::Clip::Clip ( std::shared_ptr< SceneUpdateContext context,
const SkRect &  shape_bounds 
)

Definition at line 336 of file scene_update_context.cc.

References flutter::SceneUpdateContext::Entity::entity_node().

338  : Entity(context) {
339  entity_node().SetLabel("flutter::Clip");
340  SetEntityNodeClipPlanes(entity_node(), shape_bounds);
341 }
Entity(std::shared_ptr< SceneUpdateContext > context)
std::shared_ptr< SceneUpdateContext > context()

◆ ~Clip()

flutter::SceneUpdateContext::Clip::~Clip ( )
default

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