Line Object Functions
[Specific Object Functions]
Functions used to deal with evas line objects. More...
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 (const 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. |
Detailed Description
Functions used to deal with evas line objects.
Function Documentation
EAPI Evas_Object* evas_object_line_add | ( | Evas * | e | ) |
Adds a new evas line object to the given evas.
- Parameters:
-
e The given evas.
- Returns:
- The new evas line object.
EAPI void evas_object_line_xy_get | ( | const 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.
- Parameters:
-
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.
- Parameters:
-
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.
References evas_event_feed_mouse_move().