-//TODO: Remove!
-//Since evas map have a afterimage bug for this time.
-//This function is added temporary.
-static void
-_transit_obj_damage_area_set(Evas_Object *obj)
-{
- const Evas_Map *map;
- Evas_Coord_Point coords;
- Evas_Coord_Point min, max;
- int i;
-
- map = evas_object_map_get(obj);
- if (!map) return;
-
- evas_map_point_coord_get(map, 0, &coords.x, &coords.y, NULL);
-
- max = min = coords;
-
- for (i = 1; i < 4; ++i)
- {
- evas_map_point_coord_get(map, i, &coords.x, &coords.y, NULL);
-
- if (coords.x < min.x)
- min.x = coords.x;
- else if (coords.x > max.x)
- max.x = coords.x;
-
- if (coords.y < min.y)
- min.y = coords.y;
- else if (coords.y > max.y)
- max.y = coords.y;
- }
-
- evas_damage_rectangle_add(evas_object_evas_get(obj),
- min.x, min.y,
- max.x - min.x, max.y - min.y);
-}
-