Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::EmbedderViewSlice Class Referenceabstract

#include <embedded_views.h>

Inheritance diagram for flutter::EmbedderViewSlice:
flutter::DisplayListEmbedderViewSlice

Public Member Functions

virtual ~EmbedderViewSlice ()=default
 
virtual DlCanvascanvas ()=0
 
virtual void end_recording ()=0
 
virtual const DlRegiongetRegion () const =0
 
DlRegion region (const SkRect &query) const
 
virtual void render_into (DlCanvas *canvas)=0
 

Detailed Description

Definition at line 336 of file embedded_views.h.

Constructor & Destructor Documentation

◆ ~EmbedderViewSlice()

virtual flutter::EmbedderViewSlice::~EmbedderViewSlice ( )
virtualdefault

Member Function Documentation

◆ canvas()

virtual DlCanvas * flutter::EmbedderViewSlice::canvas ( )
pure virtual

◆ end_recording()

virtual void flutter::EmbedderViewSlice::end_recording ( )
pure virtual

◆ getRegion()

virtual const DlRegion & flutter::EmbedderViewSlice::getRegion ( ) const
pure virtual

◆ region()

DlRegion flutter::EmbedderViewSlice::region ( const SkRect query) const
inline

Definition at line 342 of file embedded_views.h.

342 {
343 return DlRegion::MakeIntersection(getRegion(), DlRegion(query.roundOut()));
344 }
static DlRegion MakeIntersection(const DlRegion &a, const DlRegion &b)
Definition: dl_region.cc:497
virtual const DlRegion & getRegion() const =0
void roundOut(SkIRect *dst) const
Definition: SkRect.h:1241

◆ render_into()

virtual void flutter::EmbedderViewSlice::render_into ( DlCanvas canvas)
pure virtual

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