Dali 3D User Interface Engine
Functions | Variables
Dali::Internal::Adaptor::anonymous_namespace{pinch-gesture-detector.cpp} Namespace Reference

Functions

float GetDistance (const TouchPoint &point1, const TouchPoint &point2)
 
float GetGradient (const TouchPoint &point1, const TouchPoint &point2)
 
Vector2 GetCenterPoint (const TouchPoint &point1, const TouchPoint &point2)
 

Variables

const unsigned int MINIMUM_TOUCH_EVENTS_REQUIRED = 4
 
const unsigned int MINIMUM_TOUCH_EVENTS_REQUIRED_AFTER_START = 4
 

Function Documentation

Vector2 Dali::Internal::Adaptor::anonymous_namespace{pinch-gesture-detector.cpp}::GetCenterPoint ( const TouchPoint &  point1,
const TouchPoint &  point2 
)
inline

Definition at line 60 of file pinch-gesture-detector.cpp.

References Dali::TouchPoint::screen.

Referenced by Dali::Internal::Adaptor::PinchGestureDetector::SendPinch().

Here is the caller graph for this function:

float Dali::Internal::Adaptor::anonymous_namespace{pinch-gesture-detector.cpp}::GetDistance ( const TouchPoint &  point1,
const TouchPoint &  point2 
)
inline

Definition at line 47 of file pinch-gesture-detector.cpp.

References Dali::Vector2::Length(), and Dali::TouchPoint::screen.

Referenced by Dali::Internal::Adaptor::PinchGestureDetector::SendEvent(), and Dali::Internal::Adaptor::PinchGestureDetector::SendPinch().

Here is the call graph for this function:

Here is the caller graph for this function:

float Dali::Internal::Adaptor::anonymous_namespace{pinch-gesture-detector.cpp}::GetGradient ( const TouchPoint &  point1,
const TouchPoint &  point2 
)
inline

Variable Documentation

const unsigned int Dali::Internal::Adaptor::anonymous_namespace{pinch-gesture-detector.cpp}::MINIMUM_TOUCH_EVENTS_REQUIRED = 4
const unsigned int Dali::Internal::Adaptor::anonymous_namespace{pinch-gesture-detector.cpp}::MINIMUM_TOUCH_EVENTS_REQUIRED_AFTER_START = 4
Dali Docs Home
Read more about Dali