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

Public Member Functions

 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
 

Protected Attributes

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

Detailed Description

Definition at line 99 of file MotionMarkSlide.cpp.

Constructor & Destructor Documentation

◆ MotionMarkSlide()

MotionMarkSlide::MotionMarkSlide ( )
default

Member Function Documentation

◆ animate()

bool MotionMarkSlide::animate ( double  nanos)
inlineoverridevirtual

Reimplemented from Slide.

Definition at line 111 of file MotionMarkSlide.cpp.

111 {
112 return fStage->animate(nanos);
113 }
std::unique_ptr< Stage > fStage

◆ draw()

void MotionMarkSlide::draw ( SkCanvas canvas)
inlineoverridevirtual

Implements Slide.

Definition at line 107 of file MotionMarkSlide.cpp.

107 {
108 fStage->draw(canvas);
109 }

◆ onChar()

bool MotionMarkSlide::onChar ( SkUnichar  uni)
inlineoverridevirtual

Reimplemented from Slide.

Definition at line 103 of file MotionMarkSlide.cpp.

103 {
104 return fStage->onChar(uni);
105 }

Member Data Documentation

◆ fStage

std::unique_ptr<Stage> MotionMarkSlide::fStage
protected

Definition at line 116 of file MotionMarkSlide.cpp.


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