Tizen Native API
|
This group provides functions to deal with evas line objects.
- Remarks:
- We do not guarantee any proper results if you create a Line object without setting the evas engine.
Functions | |
Evas_Object * | evas_object_line_add (Evas *e) |
Adds a new evas line object to the given evas. | |
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. | |
void | evas_object_line_xy_get (const Evas_Object *obj, Evas_Coord *x1, Evas_Coord *y1, Evas_Coord *x2, Evas_Coord *y2) |
Gets the coordinates of the end points of the given evas line object. |
Function Documentation
Evas_Object* evas_object_line_add | ( | Evas * | e | ) |
Adds a new evas line object to the given evas.
- Since :
- 2.3.1
- Parameters:
-
[in] e The given evas
- Returns:
- The new evas line object
void evas_object_line_xy_get | ( | const Evas_Object * | obj, |
Evas_Coord * | x1, | ||
Evas_Coord * | y1, | ||
Evas_Coord * | x2, | ||
Evas_Coord * | y2 | ||
) |
Gets the coordinates of the end points of the given evas line object.
- Since :
- 2.3.1
- Parameters:
-
[in] obj The given line object [out] x1 The pointer to an integer in which to store the X coordinate of the first end point [out] y1 The pointer to an integer in which to store the Y coordinate of the first end point [out] x2 The pointer to an integer in which to store the X coordinate of the second end point [out] y2 The pointer to an integer in which to store the Y coordinate of the second end point
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.
- Since :
- 2.3.1
- Parameters:
-
[in] obj The given evas line 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