#include <clip_shape_layer.h>
Public Types | |
| using | ClipShape = T |
Protected Member Functions | |
| virtual const DlRect | clip_shape_bounds () const =0 |
| virtual void | ApplyClip (LayerStateStack::MutatorContext &mutator) const =0 |
| virtual void | PushClipToEmbeddedNativeViewMutatorStack (ExternalViewEmbedder *view_embedder) const =0 |
| virtual | ~ClipShapeLayer ()=default |
| const ClipShape & | clip_shape () const |
| Clip | clip_behavior () const |
Protected Member Functions inherited from flutter::ContainerLayer | |
| void | PrerollChildren (PrerollContext *context, DlRect *child_paint_bounds) |
Additional Inherited Members | |
Static Public Attributes inherited from flutter::Layer | |
| static constexpr int | kSaveLayerRenderFlags |
| static constexpr int | kRasterCacheRenderFlags |
Protected Attributes inherited from flutter::CacheableContainerLayer | |
| std::unique_ptr< LayerRasterCacheItem > | layer_raster_cache_item_ |
Definition at line 15 of file clip_shape_layer.h.
| using flutter::ClipShapeLayer< T >::ClipShape = T |
Definition at line 17 of file clip_shape_layer.h.
|
inline |
Definition at line 18 of file clip_shape_layer.h.
References flutter::ClipShapeLayer< T >::clip_behavior(), FML_DCHECK, and flutter::kNone.
|
protectedvirtualdefault |
|
protectedpure virtual |
Implemented in flutter::ClipPathLayer, flutter::ClipRectLayer, flutter::ClipRRectLayer, and flutter::ClipRSuperellipseLayer.
Referenced by flutter::ClipShapeLayer< T >::Paint(), and flutter::ClipShapeLayer< T >::Preroll().
|
inlineprotected |
Definition at line 120 of file clip_shape_layer.h.
Referenced by flutter::ClipShapeLayer< T >::ClipShapeLayer().
|
inlineprotected |
Definition at line 119 of file clip_shape_layer.h.
|
protectedpure virtual |
Implemented in flutter::ClipPathLayer, flutter::ClipRectLayer, flutter::ClipRRectLayer, and flutter::ClipRSuperellipseLayer.
Referenced by flutter::ClipShapeLayer< T >::Diff(), and flutter::ClipShapeLayer< T >::Preroll().
|
inlineoverridevirtual |
Reimplemented from flutter::Layer.
Definition at line 25 of file clip_shape_layer.h.
References flutter::ClipShapeLayer< T >::clip_shape_bounds(), context, flutter::ContainerLayer::DiffChildren(), FML_DCHECK, and flutter::ClipShapeLayer< T >::UsesSaveLayer().
|
inlineoverridevirtual |
Implements flutter::Layer.
Definition at line 79 of file clip_shape_layer.h.
References flutter::ClipShapeLayer< T >::ApplyClip(), context, FML_DCHECK, flutter::LayerStateStack::kCallerCanApplyOpacity, flutter::CacheableContainerLayer::layer_raster_cache_item_, flutter::Layer::needs_painting(), flutter::Layer::paint_bounds(), flutter::ContainerLayer::PaintChildren(), and flutter::ClipShapeLayer< T >::UsesSaveLayer().
|
inlineoverridevirtual |
Implements flutter::Layer.
Definition at line 44 of file clip_shape_layer.h.
References flutter::ClipShapeLayer< T >::ApplyClip(), flutter::ContainerLayer::child_paint_bounds(), flutter::ClipShapeLayer< T >::clip_shape_bounds(), context, flutter::Layer::AutoPrerollSaveLayerState::Create(), impeller::TRect< T >::IntersectionOrEmpty(), flutter::Layer::kSaveLayerRenderFlags, flutter::CacheableContainerLayer::layer_raster_cache_item_, flutter::ContainerLayer::PrerollChildren(), flutter::ClipShapeLayer< T >::PushClipToEmbeddedNativeViewMutatorStack(), flutter::Layer::set_paint_bounds(), and flutter::ClipShapeLayer< T >::UsesSaveLayer().
|
protectedpure virtual |
Implemented in flutter::ClipPathLayer, flutter::ClipRectLayer, flutter::ClipRRectLayer, and flutter::ClipRSuperellipseLayer.
Referenced by flutter::ClipShapeLayer< T >::Preroll().
|
inline |
Definition at line 108 of file clip_shape_layer.h.
References flutter::kAntiAliasWithSaveLayer.
Referenced by flutter::ClipShapeLayer< T >::Diff(), flutter::ClipShapeLayer< T >::Paint(), and flutter::ClipShapeLayer< T >::Preroll().