Efl.Gfx (interface)

Description

Efl graphics interface

Members

geometry (get, set)

Rectangular geometry that combines both position and size.
Eina_Rect efl_gfx_geometry_get(const Eo *obj);
void efl_gfx_geometry_set(Eo *obj, Eina_Rect rect);


position (get, set)

The 2D position of a canvas object.
Eina_Position2D efl_gfx_position_get(const Eo *obj);
void efl_gfx_position_set(Eo *obj, Eina_Position2D pos);


scale (get, set)

The scaling factor of an object.
double efl_gfx_scale_get(const Eo *obj);
void efl_gfx_scale_set(Eo *obj, double scale);


size (get, set)

The 2D size of a canvas object.
Eina_Size2D efl_gfx_size_get(const Eo *obj);
void efl_gfx_size_set(Eo *obj, Eina_Size2D size);


visible (get, set)

The visibility of a canvas object.
Eina_Bool efl_gfx_visible_get(const Eo *obj);
void efl_gfx_visible_set(Eo *obj, Eina_Bool v);


Events

hide

Object just became invisible.
EFL_GFX_EVENT_HIDE(void)


move

Object was moved, its position during the event is the new one.
EFL_GFX_EVENT_MOVE(void)


resize

Object was resized, its size during the event is the new one.
EFL_GFX_EVENT_RESIZE(void)


show

Object just became visible.
EFL_GFX_EVENT_SHOW(void)