Tizen Native API
Line Object Functions

Functions

void evas_object_line_xy_set (Evas_Line *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_Line *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.
Evas_Objectevas_object_line_add (Evas *e)
 Adds a new evas line object to the given evas.

Functions used to deal with evas line objects.

Warning:
We don't guarantee any proper results if you create a Line object without setting the evas engine.

Function Documentation

Adds a new evas line object to the given evas.

Parameters:
[in]eThe given evas.
Since :
2.3
Returns:
The new evas line object.
void evas_object_line_xy_get ( const Evas_Line *  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.

Since :
2.3
Remarks:
second end point.
Parameters:
[in]objThe line object
[out]x1The X coordinate of the first point.
[out]y1The Y coordinate of the first point.
[out]x2The X coordinate of the second point.
[out]y2The Y coordinate of the second point.
void evas_object_line_xy_set ( Evas_Line *  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
Since (EFL) :
1.8
Parameters:
[in]objThe 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.