Functions that deals with images at canvas level. More...
#define | evas_canvas_image_cache_flush() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_FLUSH) |
#define | evas_canvas_image_cache_reload() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_RELOAD) |
#define | evas_canvas_image_cache_set(size) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_SET), EO_TYPECHECK(int, size) |
#define | evas_canvas_image_cache_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_GET), EO_TYPECHECK(int *, ret) |
#define | evas_canvas_image_max_size_get(maxw, maxh, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_MAX_SIZE_GET), EO_TYPECHECK(int *, maxw), EO_TYPECHECK(int *, maxh), EO_TYPECHECK(Eina_Bool *, ret) |
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... | |
Functions that deals with images at canvas level.
#define evas_canvas_image_cache_flush | ( | ) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_FLUSH) |
Flush the image cache of the canvas.
Referenced by evas_image_cache_flush().
#define evas_canvas_image_cache_reload | ( | ) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_RELOAD) |
Reload the image cache
Referenced by evas_image_cache_reload().
#define evas_canvas_image_cache_set | ( | size | ) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_SET), EO_TYPECHECK(int, size) |
Set the image cache.
[in] | size |
Referenced by evas_image_cache_set().
#define evas_canvas_image_cache_get | ( | ret | ) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_CACHE_GET), EO_TYPECHECK(int *, ret) |
Get the image cache
[out] | ret |
Referenced by evas_image_cache_get().
#define evas_canvas_image_max_size_get | ( | maxw, | |
maxh, | |||
ret | |||
) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_IMAGE_MAX_SIZE_GET), EO_TYPECHECK(int *, maxw), EO_TYPECHECK(int *, maxh), EO_TYPECHECK(Eina_Bool *, ret) |
Get the maximum image size evas can possibly handle
[out] | maxw | |
[out] | maxh | |
[out] | ret |
Referenced by evas_image_max_size_get().
void evas_image_cache_flush | ( | Evas * | e | ) |
Flush the image cache of the canvas.
e | The given evas pointer. |
This function flushes image cache of canvas.
References evas_canvas_image_cache_flush.
void evas_image_cache_reload | ( | Evas * | e | ) |
Reload the image cache.
e | The given evas pointer. |
This function reloads the image cache of canvas.
References evas_canvas_image_cache_reload.
void evas_image_cache_set | ( | Evas * | e, |
int | size | ||
) |
Set the image cache.
e | The given evas pointer. |
size | The cache size. |
This function sets the image cache of canvas in bytes.
References evas_canvas_image_cache_set.
int evas_image_cache_get | ( | const Evas * | e | ) |
Get the image cache.
e | The given evas pointer. |
This function returns the image cache size of canvas in bytes.
References evas_canvas_image_cache_get.
Get the maximum image size evas can possibly handle.
e | The given evas pointer. |
maxw | Pointer to hold the return value in pixels of the maximum 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.
References EINA_FALSE, and evas_canvas_image_max_size_get.