Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
BouncingTaggedImagesSlide Class Reference
Inheritance diagram for BouncingTaggedImagesSlide:
MotionMarkSlide Slide SkRefCnt SkRefCntBase

Public Member Functions

 BouncingTaggedImagesSlide ()
 
void load (SkScalar w, SkScalar h) override
 
void gpuTeardown () override
 
- Public Member Functions inherited from MotionMarkSlide
 MotionMarkSlide ()=default
 
bool onChar (SkUnichar uni) override
 
void draw (SkCanvas *canvas) override
 
bool animate (double nanos) override
 
- Public Member Functions inherited from Slide
virtual SkISize getDimensions () const
 
virtual void gpuTeardown ()
 
virtual void draw (SkCanvas *canvas)=0
 
virtual bool animate (double nanos)
 
virtual void load (SkScalar winWidth, SkScalar winHeight)
 
virtual void resize (SkScalar winWidth, SkScalar winHeight)
 
virtual void unload ()
 
virtual bool onChar (SkUnichar c)
 
virtual bool onMouse (SkScalar x, SkScalar y, skui::InputState state, skui::ModifierKey modifiers)
 
virtual bool onGetControls (SkMetaData *)
 
virtual void onSetControls (const SkMetaData &)
 
const SkStringgetName ()
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Additional Inherited Members

- Protected Attributes inherited from MotionMarkSlide
std::unique_ptr< StagefStage
 
- Protected Attributes inherited from Slide
SkString fName
 

Detailed Description

Definition at line 901 of file MotionMarkSlide.cpp.

Constructor & Destructor Documentation

◆ BouncingTaggedImagesSlide()

BouncingTaggedImagesSlide::BouncingTaggedImagesSlide ( )
inline

Definition at line 903 of file MotionMarkSlide.cpp.

903{fName = "MotionMarkBouncingTaggedImages"; }
SkString fName
Definition: Slide.h:54

Member Function Documentation

◆ gpuTeardown()

void BouncingTaggedImagesSlide::gpuTeardown ( )
inlineoverridevirtual

Reimplemented from Slide.

Definition at line 909 of file MotionMarkSlide.cpp.

909 {
910 reinterpret_cast<BouncingTaggedImagesStage*>(fStage.get())->reset();
911 }
m reset()
std::unique_ptr< Stage > fStage

◆ load()

void BouncingTaggedImagesSlide::load ( SkScalar  w,
SkScalar  h 
)
inlineoverridevirtual

Reimplemented from Slide.

Definition at line 905 of file MotionMarkSlide.cpp.

905 {
906 fStage = std::make_unique<BouncingTaggedImagesStage>(SkSize::Make(w, h));
907 }
SkScalar w
SkScalar h
static constexpr SkSize Make(SkScalar w, SkScalar h)
Definition: SkSize.h:56

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