summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_input_pointer.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/efl_input_pointer.eo')
-rw-r--r--src/lib/evas/canvas/efl_input_pointer.eo20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/efl_input_pointer.eo b/src/lib/evas/canvas/efl_input_pointer.eo
index dd8ccd210d..1519e93243 100644
--- a/src/lib/evas/canvas/efl_input_pointer.eo
+++ b/src/lib/evas/canvas/efl_input_pointer.eo
@@ -70,15 +70,27 @@ class Efl.Input.Pointer (Efl.Object, Efl.Input.Event, Efl.Input.State)
70 @property position { 70 @property position {
71 [[Position where the event happened, relative to the window. 71 [[Position where the event happened, relative to the window.
72 72
73 This position, in integers, is an approximation of 73 See @.precise_position for floating point precision (subpixel
74 @.value.get($x), @.value.get($y). Use @.position if you need 74 location).
75 simple pixel positions, but prefer the generic interface
76 if you need precise coordinates.
77 ]] 75 ]]
78 values { 76 values {
79 pos: Eina.Position2D; [[The position of the event, in pixels.]] 77 pos: Eina.Position2D; [[The position of the event, in pixels.]]
80 } 78 }
81 } 79 }
80 @property precise_position {
81 [[Position where the event happened, relative to the window.
82
83 This position is in floating point values, for more precise
84 coordinates, in subpixels. Note that many input devices are unable
85 to give better precision than a single pixel, so this may be
86 equal to @.position.
87
88 See also @.position.
89 ]]
90 values {
91 pos: Eina.Vector2; [[The position of the event, in pixels.]]
92 }
93 }
82 @property previous_position { 94 @property previous_position {
83 [[Position of the previous event, valid for move events. 95 [[Position of the previous event, valid for move events.
84 96