Evas_Object_Image_Alpha (3) - Linux Man Pages

Evas_Object_Image_Alpha: Functions that change the alpha of an image object.

NAME

Image Object Image Alpha Functions - Functions that change the alpha of an image object.

Functions


EAPI void evas_object_image_alpha_set (Evas_Object *obj, Evas_Bool has_alpha)
Enable or disable alpha channel of the given image object.
EAPI Evas_Bool evas_object_image_alpha_get (const Evas_Object *obj)
Retrieves the alpha channel setting of the given image object.

Detailed Description

Functions that change the alpha of an image object.

Function Documentation

EAPI Evas_Bool evas_object_image_alpha_get (const Evas_Object * obj)

Retrieves the alpha channel setting of the given image object.

This function returns 1 if the image object's alpha channel is being used, or 0 otherwise.

See evas_object_image_alpha_set for more details.

Parameters:

obj The given image object.

Returns:

Whether the alpha channel data is being used.

EAPI void evas_object_image_alpha_set (Evas_Object * obj, Evas_Bool has_alpha)

Enable or disable alpha channel of the given image object.

This function sets a flag on an image object indicating whether or not to use alpha channel data. A value of 1 indicates to use alpha channel data, and 0 indicates to ignore any alpha channel data. Note that this has nothing to do with an object's color as manipulated by evas_object_color_set().

Parameters:

obj The given image object.
has_alpha Whether to use alpha channel data or not.

References evas_object_image_data_update_add().

Author

Generated automatically by Doxygen for Evas from the source code.