Flutter Engine
The Flutter Engine
|
Classes | |
class | DoNothingClick |
class | DragPolyClick |
class | DragRectClick |
class | MyClick |
class | VertClick |
Public Member Functions | |
EdgeClipSlide () | |
void | draw (SkCanvas *canvas) 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 |
Static Public Member Functions | |
static SkScalar | snap (SkScalar x) |
static SkPoint | snap (const SkPoint &pt) |
static void | snap (SkPoint dst[], const SkPoint src[], int count) |
static bool | hit_test (const SkPoint &pt, SkScalar x, SkScalar y) |
Protected Member Functions | |
Click * | onFindClickHandler (SkScalar x, SkScalar y, skui::ModifierKey) override |
bool | onClick (Click *click) override |
virtual Click * | onFindClickHandler (SkScalar x, SkScalar y, skui::ModifierKey modi)=0 |
virtual bool | onClick (Click *)=0 |
Additional Inherited Members | |
Protected Attributes inherited from Slide | |
SkString | fName |
Definition at line 145 of file PathClipSlide.cpp.
|
inline |
Definition at line 154 of file PathClipSlide.cpp.
|
inlineoverridevirtual |
Implements Slide.
Definition at line 177 of file PathClipSlide.cpp.
Definition at line 268 of file PathClipSlide.cpp.
|
inlineoverrideprotectedvirtual |
Override to track clicks. Return true as long as you want to track the pen/mouse.
Implements ClickHandlerSlide.
Definition at line 295 of file PathClipSlide.cpp.
|
inlineoverrideprotectedvirtual |
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 276 of file PathClipSlide.cpp.
Definition at line 168 of file PathClipSlide.cpp.
Definition at line 171 of file PathClipSlide.cpp.
Definition at line 165 of file PathClipSlide.cpp.