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

Public Member Functions

 PathsSlide ()
 
void load (SkScalar w, SkScalar h) 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 892 of file MotionMarkSlide.cpp.

Constructor & Destructor Documentation

◆ PathsSlide()

PathsSlide::PathsSlide ( )
inline

Definition at line 894 of file MotionMarkSlide.cpp.

894{fName = "MotionMarkPaths"; }
SkString fName
Definition: Slide.h:54

Member Function Documentation

◆ load()

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

Reimplemented from Slide.

Definition at line 896 of file MotionMarkSlide.cpp.

896 {
897 fStage = std::make_unique<CanvasLinePathStage>(SkSize::Make(w, h));
898 }
std::unique_ptr< Stage > fStage
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: