Gradient Object Type Functions

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

Functions

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.
void evas_object_gradient_type_get (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", "radial", "rectangular", "sinusoidal", ... Some types may accept added parameters to further specify the look.


Function Documentation

void evas_object_gradient_type_get 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.

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 param_name, param_value pairs. Must be in the format "param_name=param_value; param_name2=param_value2;", eg. "amplitude=0.8;". Can be NULL.