Flutter Engine
The Flutter Engine
|
#include <ImageSlide.h>
Public Member Functions | |
ImageSlide (const SkString &name, const SkString &path) | |
ImageSlide (const SkString &name, sk_sp< SkImage > image) | |
SkISize | getDimensions () const override |
void | draw (SkCanvas *canvas) override |
void | load (SkScalar winWidth, SkScalar winHeight) override |
void | unload () 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 SkString & | getName () |
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 |
Definition at line 20 of file ImageSlide.h.
Definition at line 17 of file ImageSlide.cpp.
Definition at line 21 of file ImageSlide.cpp.
|
overridevirtual |
Implements Slide.
Definition at line 30 of file ImageSlide.cpp.
|
overridevirtual |
A slide may have a content dimensions that is independent of the current window size. An empty size indicates that the Slide's dimensions are equal to the window's dimensions.
Reimplemented from Slide.
Definition at line 26 of file ImageSlide.cpp.
Reimplemented from Slide.
Definition at line 35 of file ImageSlide.cpp.
|
overridevirtual |
Reimplemented from Slide.
Definition at line 44 of file ImageSlide.cpp.