Download

Support

Polygon Functions

Functions that operate on evas polygon objects. More...

Functions

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

Detailed Description

Functions that operate on evas polygon objects.


Function Documentation

EAPI Evas_Object* evas_object_polygon_add ( Evas e  ) 

Adds a new evas polygon object to the given evas.

Parameters:
e The given evas.
Returns:
A new evas polygon object.

EAPI void evas_object_polygon_point_add ( Evas_Object obj,
Evas_Coord  x,
Evas_Coord  y 
)

Adds the given point to the given evas polygon object.

Parameters:
obj The given evas polygon object.
x The X coordinate of the given point.
y The Y coordinate of the given point.

References evas_list_append().

EAPI void evas_object_polygon_points_clear ( Evas_Object obj  ) 

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

Parameters:
obj The given polygon object.

References evas_list_remove().


Copyright © Enlightenment.org