Functions | |
EAPI Evas_Object * | evas_object_line_add (Evas *e) |
Adds a new evas line object to the given evas. | |
EAPI void | evas_object_line_xy_set (Evas_Object *obj, Evas_Coord x1, Evas_Coord y1, Evas_Coord x2, Evas_Coord y2) |
Sets the coordinates of the end points of the given evas line object. | |
EAPI void | evas_object_line_xy_get (Evas_Object *obj, Evas_Coord *x1, Evas_Coord *y1, Evas_Coord *x2, Evas_Coord *y2) |
Retrieves the coordinates of the end points of the given evas line object. |
EAPI Evas_Object* evas_object_line_add | ( | Evas * | e | ) |
Adds a new evas line object to the given evas.
e | The given evas. |
EAPI void evas_object_line_xy_get | ( | Evas_Object * | obj, | |
Evas_Coord * | x1, | |||
Evas_Coord * | y1, | |||
Evas_Coord * | x2, | |||
Evas_Coord * | y2 | |||
) |
Retrieves the coordinates of the end points of the given evas line object.
obj | The given line object. | |
x1 | Pointer to an integer in which to store the X coordinate of the first end point. | |
y1 | Pointer to an integer in which to store the Y coordinate of the first end point. | |
x2 | Pointer to an integer in which to store the X coordinate of the second end point. | |
y2 | Pointer to an integer in which to store the Y coordinate of the second end point. |
EAPI void evas_object_line_xy_set | ( | Evas_Object * | obj, | |
Evas_Coord | x1, | |||
Evas_Coord | y1, | |||
Evas_Coord | x2, | |||
Evas_Coord | y2 | |||
) |
Sets the coordinates of the end points of the given evas line object.
obj | The given evas line object. | |
x1 | The X coordinate of the first point. | |
y1 | The Y coordinate of the first point. | |
x2 | The X coordinate of the second point. | |
y2 | The Y coordinate of the second point. |