Image Functions

Functions that deals with images at canvas level. More...

Functions

void evas_image_cache_flush (Evas *e)
 Flush the image cache of the canvas.
void evas_image_cache_reload (Evas *e)
 Reload the image cache.
void evas_image_cache_set (Evas *e, int size)
 Set the image cache.
int evas_image_cache_get (const Evas *e)
 Get the image cache.
Eina_Bool evas_image_max_size_get (const Evas *e, int *maxw, int *maxh)
 Get the maximum image size evas can possibly handle.

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:
eThe 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:
eThe 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:
eThe 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:
eThe given evas pointer.
sizeThe 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:
eThe given evas pointer.
maxwPointer to hold the return value in pixels of the maxumum width
maxhPointer 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