Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SvgSlide Class Referencefinal

#include <SvgSlide.h>

Inheritance diagram for SvgSlide:
Slide SkRefCnt SkRefCntBase

Public Member Functions

 SvgSlide (const SkString &name, const SkString &path)
 
 ~SvgSlide () override
 
void load (SkScalar winWidth, SkScalar winHeight) override
 
void unload () override
 
void resize (SkScalar, SkScalar) override
 
void draw (SkCanvas *) 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 Slide
SkString fName
 

Detailed Description

Definition at line 19 of file SvgSlide.h.

Constructor & Destructor Documentation

◆ SvgSlide()

SvgSlide::SvgSlide ( const SkString name,
const SkString path 
)

◆ ~SvgSlide()

SvgSlide::~SvgSlide ( )
override

Member Function Documentation

◆ draw()

void SvgSlide::draw ( SkCanvas )
overridevirtual

Implements Slide.

◆ load()

void SvgSlide::load ( SkScalar  winWidth,
SkScalar  winHeight 
)
overridevirtual

Reimplemented from Slide.

◆ resize()

void SvgSlide::resize ( SkScalar  ,
SkScalar   
)
overridevirtual

Reimplemented from Slide.

◆ unload()

void SvgSlide::unload ( )
overridevirtual

Reimplemented from Slide.


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