efl/src/lib/evas/gesture/efl_canvas_gesture_zoom.eo

28 lines
1.1 KiB
Plaintext

class @beta Efl.Canvas.Gesture_Zoom extends Efl.Canvas.Gesture
{
[[Zoom gesture class holding state information.
See @Efl.Canvas.Gesture to see what this state is and
@[Efl.Canvas.Gesture_Events.gesture,zoom] for a description of the Zoom gesture.
Application developers receive these objects inside a gesture event and do not typically need to create their own.
]]
c_prefix: efl_gesture_zoom;
methods {
radius_get {
[[Gets the current radius (i.e. the distance between the two fingers) of the gesture.]]
return: double; [[The radius value in pixels.]]
}
zoom_get {
[[Gets the current zoom value of the gesture. When the gesture begins, the finger
distance is recorded. When the distance becomes greater than the initial one, a
zoom value greater than $[1.0] is reported. When it becomes smaller, a zoom value
lesser than $[1.0] is reported.]]
return: double; [[The zoom value. $[1.0] means no zoom.]]
}
}
implements {
Efl.Object.constructor;
Efl.Object.destructor;
}
}