forked from enlightenment/efl
evas: expose evas_map_coords_get.
This commit is contained in:
parent
416daffe5e
commit
eaeaf8831c
|
@ -7533,6 +7533,20 @@ EAPI void evas_map_free(Evas_Map *m);
|
|||
*/
|
||||
EAPI int evas_map_count_get(const Evas_Map *m) EINA_CONST;
|
||||
|
||||
/**
|
||||
* Apply a map transformation on given coordinate
|
||||
*
|
||||
* @param m map to use to transform x and y
|
||||
* @param x point x source coordinate
|
||||
* @param y point y source coordinate
|
||||
* @param mx point x after transformation by m
|
||||
* @param my point y after transformation by m
|
||||
* @param grab
|
||||
* @return #EINA_TRUE on success interpolation, @EINA_FALSE otherwise
|
||||
*/
|
||||
EAPI Eina_Bool evas_map_coords_get(const Evas_Map *m, double x, double y,
|
||||
double *mx, double *my, int grab);
|
||||
|
||||
/**
|
||||
* Change the map point's coordinate.
|
||||
*
|
||||
|
|
|
@ -239,7 +239,7 @@ _evas_map_free(Evas_Object *eo_obj, Evas_Map *m)
|
|||
free(m);
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
EAPI Eina_Bool
|
||||
evas_map_coords_get(const Evas_Map *m, double x, double y,
|
||||
double *mx, double *my, int grab)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue