Efl.Gfx.Image_Load_Controller (interface)


Common APIs for all loadable 2D images.

Since 1.23



Cancel preloading an image object's image data in the background.
void efl_gfx_image_load_controller_load_async_cancel(Eo *obj);


Begin preloading an image object's image data in the background.
void efl_gfx_image_load_controller_load_async_start(Eo *obj);

load_dpi (get, set)

The DPI resolution of an image object's source image.
double efl_gfx_image_load_controller_load_dpi_get(const Eo *obj);
void efl_gfx_image_load_controller_load_dpi_set(Eo *obj, double dpi);

load_orientation (get, set)

Defines whether the orientation information in the image file should be honored.
Eina_Bool efl_gfx_image_load_controller_load_orientation_get(const Eo *obj);
void efl_gfx_image_load_controller_load_orientation_set(Eo *obj, Eina_Bool enable);

load_region (get, set)

Inform a given image object to load a selective region of its source image.
Eina_Rect efl_gfx_image_load_controller_load_region_get(const Eo *obj);
void efl_gfx_image_load_controller_load_region_set(Eo *obj, Eina_Rect region);

load_region_support (get)

Eina_Bool efl_gfx_image_load_controller_load_region_support_get(const Eo *obj);

load_scale_down (get, set)

The scale down factor is a divider on the original image size.
int efl_gfx_image_load_controller_load_scale_down_get(const Eo *obj);
void efl_gfx_image_load_controller_load_scale_down_set(Eo *obj, int div);

load_size (get, set)

The load size of an image.
Eina_Size2D efl_gfx_image_load_controller_load_size_get(const Eo *obj);
void efl_gfx_image_load_controller_load_size_set(Eo *obj, Eina_Size2D size);

load_skip_header (get, set)

Initial load should skip header check and leave it all to data load.
Eina_Bool efl_gfx_image_load_controller_load_skip_header_get(const Eo *obj);
void efl_gfx_image_load_controller_load_skip_header_set(Eo *obj, Eina_Bool skip);