Functions | |
EAPI void | evas_object_del (Evas_Object *obj) |
Deletes the given evas object and frees its memory. | |
EAPI void | evas_object_move (Evas_Object *obj, Evas_Coord x, Evas_Coord y) |
Moves the given evas object to the given location. | |
EAPI void | evas_object_resize (Evas_Object *obj, Evas_Coord w, Evas_Coord h) |
Changes the size of the given evas object. | |
EAPI void | evas_object_geometry_get (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) |
Retrieves the position and rectangular size of the given evas object. | |
EAPI void | evas_object_color_set (Evas_Object *obj, int r, int g, int b, int a) |
Sets the general colour of the given evas object to the given colour. | |
EAPI void | evas_object_color_get (Evas_Object *obj, int *r, int *g, int *b, int *a) |
Retrieves the general colour of the given evas object. | |
EAPI void | evas_object_anti_alias_set (Evas_Object *obj, Evas_Bool anti_alias) |
Sets whether or not the given evas object is to be drawn anti_aliased. | |
EAPI Evas_Bool | evas_object_anti_alias_get (Evas_Object *obj) |
Retrieves whether or not the given evas object is to be drawn anti_aliased. | |
EAPI void | evas_object_color_interpolation_set (Evas_Object *obj, int color_space) |
Sets the color_space to be used for linear interpolation of colors. | |
EAPI int | evas_object_color_interpolation_get (Evas_Object *obj) |
Retrieves the current value of the color space used for linear interpolation. | |
EAPI void | evas_object_render_op_set (Evas_Object *obj, Evas_Render_Op render_op) |
Sets the render_op to be used for rendering the evas object. | |
EAPI Evas_Render_Op | evas_object_render_op_get (Evas_Object *obj) |
Retrieves the current value of the operation used for rendering the evas object. | |
EAPI Evas * | evas_object_evas_get (Evas_Object *obj) |
Retrieves the evas that the given evas object is on. | |
EAPI const char * | evas_object_type_get (Evas_Object *obj) |
Retrieves the name of the type of the given evas object. |
EAPI Evas_Bool evas_object_anti_alias_get | ( | Evas_Object * | obj | ) |
Retrieves whether or not the given evas object is to be drawn anti_aliased.
obj | The given evas object. |
1
if the object is to be anti_aliased. 0
otherwise. EAPI void evas_object_anti_alias_set | ( | Evas_Object * | obj, | |
Evas_Bool | anti_alias | |||
) |
Sets whether or not the given evas object is to be drawn anti_aliased.
obj | The given evas object. | |
anti_alias. | 1 if the object is to be anti_aliased, 0 otherwise. |
EAPI void evas_object_color_get | ( | Evas_Object * | obj, | |
int * | r, | |||
int * | g, | |||
int * | b, | |||
int * | a | |||
) |
Retrieves the general colour of the given evas object.
Note that if any of r
, g
, b
or a
are NULL
, then the NULL
parameters are ignored.
obj | The given evas object. | |
r | Pointer to an integer in which to store the red component of the colour. | |
g | Pointer to an integer in which to store the green component of the colour. | |
b | Pointer to an integer in which to store the blue component of the colour. | |
a | Pointer to an integer in which to store the alpha component of the colour. |
EAPI int evas_object_color_interpolation_get | ( | Evas_Object * | obj | ) |
Retrieves the current value of the color space used for linear interpolation.
obj | The given evas object. |
EVAS_COLOR_SPACE_ARGB
or EVAS_COLOR_SPACE_AHSV. EAPI void evas_object_color_interpolation_set | ( | Evas_Object * | obj, | |
int | color_space | |||
) |
Sets the color_space to be used for linear interpolation of colors.
obj | The given evas object. | |
color_space,one | of EVAS_COLOR_SPACE_ARGB or EVAS_COLOR_SPACE_AHSV. |
EAPI void evas_object_color_set | ( | Evas_Object * | obj, | |
int | r, | |||
int | g, | |||
int | b, | |||
int | a | |||
) |
Sets the general colour of the given evas object to the given colour.
obj | The given evas object. | |
r | The red component of the given colour. | |
g | The green component of the given colour. | |
b | The blue component of the given colour. | |
a | The alpha component of the given colour. |
EAPI void evas_object_del | ( | Evas_Object * | obj | ) |
Deletes the given evas object and frees its memory.
The object's 'free' callback is called when this function is called. If the object currently has the focus, its 'focus out' callback is also called.
obj | The given evas object. |
EAPI Evas* evas_object_evas_get | ( | Evas_Object * | obj | ) |
Retrieves the evas that the given evas object is on.
obj | The given evas object. |
EAPI void evas_object_geometry_get | ( | Evas_Object * | obj, | |
Evas_Coord * | x, | |||
Evas_Coord * | y, | |||
Evas_Coord * | w, | |||
Evas_Coord * | h | |||
) |
Retrieves the position and rectangular size of the given evas object.
Note that if any of x
, y
, w
or h
are NULL
, the NULL
parameters are ignored.
obj | The given evas object. | |
x | Pointer to an integer in which to store the X coordinate of the object. | |
y | Pointer to an integer in which to store the Y coordinate of the object. | |
w | Pointer to an integer in which to store the width of the object. | |
h | Pointer to an integer in which to store the height of the object. |
EAPI void evas_object_move | ( | Evas_Object * | obj, | |
Evas_Coord | x, | |||
Evas_Coord | y | |||
) |
Moves the given evas object to the given location.
obj | The given evas object. | |
x | X position to move the object to, in canvas units. | |
y | Y position to move the object to, in canvas units. |
EAPI Evas_Render_Op evas_object_render_op_get | ( | Evas_Object * | obj | ) |
Retrieves the current value of the operation used for rendering the evas object.
obj | The given evas object. |
EAPI void evas_object_render_op_set | ( | Evas_Object * | obj, | |
Evas_Render_Op | render_op | |||
) |
Sets the render_op to be used for rendering the evas object.
obj | The given evas object. | |
render_op | one of the Evas_Render_Op values. |
EAPI void evas_object_resize | ( | Evas_Object * | obj, | |
Evas_Coord | w, | |||
Evas_Coord | h | |||
) |
Changes the size of the given evas object.
obj | The given evas object. | |
w | The new width of the evas object. | |
h | The new height of the evas object. |
EAPI const char* evas_object_type_get | ( | Evas_Object * | obj | ) |
Retrieves the name of the type of the given evas object.
obj | The given object. |