Signal
ClutterZoomAction::zoom
Declaration
gboolean
zoom (
ClutterZoomAction* self,
ClutterActor* actor,
const graphene_point_t* focal_point,
gdouble factor,
gpointer user_data
)
Description [src]
The ::zoom signal is emitted for each series of touch events that change the distance and focal point between the touch points.
The default handler of the signal will call
clutter_actor_set_scale()
on actor
using the ratio of the first
distance between the touch points and the current distance. To
override the default behaviour, connect to this signal and return
FALSE
.
Default handler: | The default handler is called after the handlers added via |
Available since: | 1.12 |
Parameters
actor |
ClutterActor |
The |
|
The data is owned by the caller of the function. | |
focal_point |
graphene_point_t |
The focal point of the zoom. |
|
The data is owned by the caller of the function. | |
factor |
gdouble |
The initial distance between the 2 touch points. |