Download

Support

Image Object File Functions

Functions that write to or retrieve images from files. More...


Functions

EAPI void evas_object_image_file_set (Evas_Object *obj, const char *file, const char *key)
 Sets the filename and key of the given image object.
EAPI void evas_object_image_file_get (const Evas_Object *obj, const char **file, const char **key)
 Retrieves the filename and key of the given image object.

Detailed Description

Functions that write to or retrieve images from files.

Function Documentation

EAPI void evas_object_image_file_get ( const Evas_Object obj,
const char **  file,
const char **  key 
)

Retrieves the filename and key of the given image object.

Parameters:
obj The given image object.
file Location to store the image filename, or NULL.
key Location to store the image key, or NULL.

EAPI void evas_object_image_file_set ( Evas_Object obj,
const char *  file,
const char *  key 
)

Sets the filename and key of the given image object.

If the file supports multiple data stored in it as eet, you can specify the key to be used as the index of the image in this file.

Parameters:
obj The given image object.
file The image filename.
key The image key in file, or NULL.

References EVAS_COLORSPACE_ARGB8888, EVAS_LOAD_ERROR_GENERIC, and EVAS_LOAD_ERROR_NONE.


Copyright © Enlightenment.org

Evas Documentation