Functions used to deal with evas line objects. More...
Functions | |
EVAS_API void | evas_object_line_xy_set (Evas_Line *obj, int x1, int y1, int x2, int y2) |
Sets the coordinates of the end points of the given evas line object. More... | |
EVAS_API void | evas_object_line_xy_get (const Evas_Line *obj, int *x1, int *y1, int *x2, int *y2) |
Retrieves the coordinates of the end points of the given evas line object. More... | |
EVAS_API Evas_Object * | evas_object_line_add (Evas *e) |
Adds a new evas line object to the given evas. More... | |
Functions used to deal with evas line objects.
EVAS_API void evas_object_line_xy_set | ( | Evas_Line * | obj, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
Sets the coordinates of the end points of the given evas line object.
[in] | obj | The object. |
[in] | x1 | The X coordinate of the first point. |
[in] | y1 | The Y coordinate of the first point. |
[in] | x2 | The X coordinate of the second point. |
[in] | y2 | The Y coordinate of the second point. |
EVAS_API void evas_object_line_xy_get | ( | const Evas_Line * | obj, |
int * | x1, | ||
int * | y1, | ||
int * | x2, | ||
int * | y2 | ||
) |
Retrieves the coordinates of the end points of the given evas line object.
[in] | obj | The object. |
[out] | x1 | The X coordinate of the first point. |
[out] | y1 | The Y coordinate of the first point. |
[out] | x2 | The X coordinate of the second point. |
[out] | y2 | The Y coordinate of the second point. |
EVAS_API Evas_Object* evas_object_line_add | ( | Evas * | e | ) |
Adds a new evas line object to the given evas.
e | The given evas. |
References EINA_FALSE, eina_list_free(), EINA_SAFETY_ON_FALSE_RETURN_VAL, EINA_TRUE, EINA_UNUSED, and EVAS_CANVAS_CLASS.
Referenced by elm_route_add().