Functions that deals with images at canvas level. More...
Functions | |
void | evas_image_cache_flush (Evas *e) |
Flush the image cache of the canvas. More... | |
void | evas_image_cache_reload (Evas *e) |
Reload the image cache. More... | |
void | evas_image_cache_set (Evas *e, int size) |
Set the image cache. More... | |
int | evas_image_cache_get (const Evas *e) |
Get the image cache. More... | |
Eina_Bool | evas_image_max_size_get (const Evas *e, int *maxw, int *maxh) |
Get the maximum image size evas can possibly handle. More... | |
Detailed Description
Functions that deals with images at canvas level.
Function Documentation
void evas_image_cache_flush | ( | Evas * | e) |
Flush the image cache of the canvas.
- Parameters
-
e The given evas pointer.
This function flushes image cache of canvas.
Referenced by evas_image_cache_reload().
int evas_image_cache_get | ( | const Evas * | e) |
Get the image cache.
- Parameters
-
e The given evas pointer.
This function returns the image cache size of canvas in bytes.
void evas_image_cache_reload | ( | Evas * | e) |
Reload the image cache.
- Parameters
-
e The given evas pointer.
This function reloads the image cache of canvas.
References evas_image_cache_flush().
void evas_image_cache_set | ( | Evas * | e, |
int | size | ||
) |
Set the image cache.
- Parameters
-
e The given evas pointer. size The cache size.
This function sets the image cache of canvas in bytes.
Eina_Bool evas_image_max_size_get | ( | const Evas * | e, |
int * | maxw, | ||
int * | maxh | ||
) |
Get the maximum image size evas can possibly handle.
- Parameters
-
e The given evas pointer. maxw Pointer to hold the return value in pixels of the maxumum width maxh Pointer to hold the return value in pixels of the maximum height
This function returns the larges image or surface size that evas can handle in pixels, and if there is one, returns EINA_TRUE
. It returns EINA_FALSE
if no extra constraint on maximum image size exists. You still should check the return values of maxw
and maxh
as there may still be a limit, just a much higher one.
- Since
- 1.1