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

Classes

struct  IsNotAttachedFunctor
 Functor which checks whether the specified actor is attached to the gesture detector. More...
 

Functions

void EmitPinchSignal (Actor *actor, const GestureDetectorContainer &gestureDetectors, const Integration::PinchGestureEvent &pinchEvent, Vector2 localCenter)
 Creates a PinchGesture and asks the specified detector to emit its detected signal. More...
 

Function Documentation

void Dali::Internal::anonymous_namespace{pinch-gesture-processor.cpp}::EmitPinchSignal ( Actor *  actor,
const GestureDetectorContainer &  gestureDetectors,
const Integration::PinchGestureEvent &  pinchEvent,
Vector2  localCenter 
)

Creates a PinchGesture and asks the specified detector to emit its detected signal.

Parameters
[in]actorThe actor that has been pinched.
[in]gestureDetectorsThe gesture detector container that should emit the signal.
[in]pinchEventThe pinchEvent received from the adaptor.
[in]localCenterRelative to the actor attached to the detector.

Definition at line 50 of file pinch-gesture-processor.cpp.

References Dali::Internal::PinchGestureDetector::EmitPinchGestureSignal(), Dali::PinchGesture::localCenterPoint, Dali::PinchGesture::scale, Dali::PinchGesture::screenCenterPoint, Dali::PinchGesture::speed, and Dali::Gesture::time.

Referenced by Dali::Internal::PinchGestureProcessor::EmitGestureSignal(), and Dali::Internal::PinchGestureProcessor::Process().

Here is the call graph for this function:

Here is the caller graph for this function:

Dali Docs Home
Read more about Dali