Dali 3D User Interface Engine
Namespaces | Functions | Variables
pinch-gesture-detector.cpp File Reference
#include "pinch-gesture-detector.h"
#include <cmath>
#include <dali/public-api/events/touch-point.h>
#include <dali/public-api/math/vector2.h>
#include <dali/integration-api/events/pinch-gesture-event.h>
#include <dali/integration-api/events/touch-event-integ.h>
#include <base/core-event-interface.h>
Include dependency graph for pinch-gesture-detector.cpp:

Go to the source code of this file.

Namespaces

namespace  Dali
 The top level DALi namespace.
 
namespace  Dali::Internal
 
namespace  Dali::Internal::Adaptor
 
namespace  Dali::Internal::Adaptor::anonymous_namespace{pinch-gesture-detector.cpp}
 

Functions

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

Variables

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