Tizen Native API
Polygon Object Functions

Functions

void evas_object_polygon_point_add (Evas_Polygon *obj, Evas_Coord x, Evas_Coord y)
 Adds the given point to the given evas polygon object.
void evas_object_polygon_points_clear (Evas_Polygon *obj)
 Removes all of the points from the given evas polygon object.
Evas_Objectevas_object_polygon_add (Evas *e)
 Adds a new evas polygon object to the given evas.

Functions that operate on evas polygon objects.

Hint: as evas does not provide ellipse, smooth paths or circle, one can calculate points and convert these to a polygon.

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

Function Documentation

Adds a new evas polygon object to the given evas.

Parameters:
[in]eThe given evas.
Since :
2.3
Returns:
A new evas polygon object.
void evas_object_polygon_point_add ( Evas_Polygon *  obj,
Evas_Coord  x,
Evas_Coord  y 
)

Adds the given point to the given evas polygon object.

Since :
2.3
Parameters:
[in]objThe polygon object
[in]xThe X coordinate of the given point.
[in]yThe Y coordinate of the given point.
void evas_object_polygon_points_clear ( Evas_Polygon *  obj)

Removes all of the points from the given evas polygon object.

Since :
2.3
Parameters:
[in]objThe polygon object