Download

Support

Gradient Object Type Functions

Functions that set or get a gradient's geometric type. More...

Functions

EAPI void evas_object_gradient_type_set (Evas_Object *obj, const char *name, const char *params)
 Sets the geometric type displayed by the given gradient object.
EAPI void evas_object_gradient_type_get (const Evas_Object *obj, char **name, char **params)
 Retrieves the type name and params of the given gradient object.

Detailed Description

Functions that set or get a gradient's geometric type.

Examples are "linear", "linear.diag", "linear.codiag", "radial", "rectangular", "angular", "sinusoidal", ... Some types may accept additional parameters to further specify the look.


Function Documentation

EAPI void evas_object_gradient_type_get ( const Evas_Object obj,
char **  name,
char **  params 
)

Retrieves the type name and params of the given gradient object.

Parameters:
obj The given gradient object.
name Pointer to a character pointer to store the pointer to the type name in.
params Pointer to a character pointer to store the pointer to the type params string in.

EAPI void evas_object_gradient_type_set ( Evas_Object obj,
const char *  name,
const char *  params 
)

Sets the geometric type displayed by the given gradient object.

Parameters:
obj The given gradient object.
name Name of the geometric type that the gradient is to be drawn as.
params List of allowable params that the given gradient type allows. Can be NULL.


Copyright © Enlightenment.org

Evas Documentation Generated: Mon May 19 09:40:43 2008