Flutter Engine
The Flutter Engine
|
Public Member Functions | |
PathSlide () | |
void | load (SkScalar w, SkScalar h) override |
void | drawPath (SkCanvas *canvas, const SkPath &path, SkPaint::Join j) |
void | draw (SkCanvas *canvas) override |
bool | animate (double nanos) override |
Click * | onFindClickHandler (SkScalar x, SkScalar y, skui::ModifierKey modi) override |
bool | onClick (ClickHandlerSlide::Click *) override |
Public Member Functions inherited from ClickHandlerSlide | |
bool | onMouse (SkScalar x, SkScalar y, skui::InputState clickState, skui::ModifierKey modifierKeys) final |
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 | |
virtual Click * | onFindClickHandler (SkScalar x, SkScalar y, skui::ModifierKey modi)=0 |
virtual bool | onClick (Click *)=0 |
Protected Attributes inherited from Slide | |
SkString | fName |
Definition at line 76 of file PathSlide.cpp.
|
inline |
Definition at line 83 of file PathSlide.cpp.
|
inlineoverridevirtual |
Reimplemented from Slide.
Definition at line 172 of file PathSlide.cpp.
|
inlineoverridevirtual |
Implements Slide.
Definition at line 149 of file PathSlide.cpp.
|
inline |
Definition at line 126 of file PathSlide.cpp.
Reimplemented from Slide.
Definition at line 88 of file PathSlide.cpp.
|
inlineoverridevirtual |
Override to track clicks. Return true as long as you want to track the pen/mouse.
Implements ClickHandlerSlide.
Definition at line 189 of file PathSlide.cpp.
|
inlineoverridevirtual |
Return a Click object to handle the click. onClick will be called repeatedly with the latest mouse state tracked on the Click object until it returns false.
Implements ClickHandlerSlide.
Definition at line 184 of file PathSlide.cpp.