Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
EdgeClipSlide::VertClick Class Reference
Inheritance diagram for EdgeClipSlide::VertClick:
EdgeClipSlide::MyClick ClickHandlerSlide::Click

Public Member Functions

 VertClick (SkPoint *pt)
 
void handleMove () override
 
- Public Member Functions inherited from EdgeClipSlide::MyClick
 MyClick ()
 
virtual void handleMove ()=0
 
- Public Member Functions inherited from ClickHandlerSlide::Click
 Click ()
 
 Click (std::function< bool(Click *)> f)
 
virtual ~Click ()=default
 

Additional Inherited Members

- Public Attributes inherited from ClickHandlerSlide::Click
SkPoint fOrig = {0, 0}
 
SkPoint fPrev = {0, 0}
 
SkPoint fCurr = {0, 0}
 
skui::InputState fState = skui::InputState::kDown
 
skui::ModifierKey fModifierKeys = skui::ModifierKey::kNone
 
SkMetaData fMeta
 
std::function< bool(Click *)> fFunc
 
bool fHasFunc = false
 

Detailed Description

Definition at line 229 of file PathClipSlide.cpp.

Constructor & Destructor Documentation

◆ VertClick()

EdgeClipSlide::VertClick::VertClick ( SkPoint pt)
inline

Definition at line 232 of file PathClipSlide.cpp.

232: fPt(pt) {}

Member Function Documentation

◆ handleMove()

void EdgeClipSlide::VertClick::handleMove ( )
inlineoverridevirtual

Implements EdgeClipSlide::MyClick.

Definition at line 233 of file PathClipSlide.cpp.

233{ *fPt = snap(fCurr); }
static SkScalar snap(SkScalar x)

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