Rechercher une page de manuel
Evas_Object_Image_Alpha
Langue: en
Version: 152911 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre