summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_canvas_gesture_zoom.eo
blob: c41610bf7700843215c082668eee91fe73b3e128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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.Gesture.Events.gesture,zoom] for a description of the Zoom gesture.
   ]]
   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;
   }
}