+static Eina_Bool
+_e_gesture_process_distance_check(int id, int x, int y)
+{
+ double distance;
+ int cx = 0, cy = 0;
+ E_Gesture_Conf_Edd *conf = gesture->config->conf;
+
+ _e_gesture_util_center_axis_get(gesture->gesture_events.num_pressed, &cx, &cy);
+ distance = _e_gesture_util_distance_get(x, y, cx, cy);
+
+ // for Debugging
+ GTDBG("Touch. id:%d, (%d, %d) center(%d, %d), distance: %lf", id, x, y, cx, cy, distance);
+ if (distance > (double)conf->within_distance)
+ {
+ GTWRN("distance(%.2f) is too far. (conf.within_distance:%d) ", distance, conf->within_distance);
+ return EINA_FALSE;
+ }
+ return EINA_TRUE;
+}