Tizen Native API
Line Object Functions

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_Objectevas_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

Adds a new evas line object to the given evas.

Since :
2.3.1
Parameters:
[in]eThe 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]objThe given line object
[out]x1The pointer to an integer in which to store the X coordinate of the first end point
[out]y1The pointer to an integer in which to store the Y coordinate of the first end point
[out]x2The pointer to an integer in which to store the X coordinate of the second end point
[out]y2The 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]objThe given evas line object
[in]x1The X coordinate of the first point
[in]y1The Y coordinate of the first point
[in]x2The X coordinate of the second point
[in]y2The Y coordinate of the second point