Download

Support

Image Object Image Scaling Functions

Functions that change the scaling quality of an image object. More...


Functions

EAPI void evas_object_image_smooth_scale_set (Evas_Object *obj, Evas_Bool smooth_scale)
 Sets whether to use of high-quality image scaling algorithm of the given image object.
EAPI Evas_Bool evas_object_image_smooth_scale_get (const Evas_Object *obj)
 Retrieves whether the given image object is using use a high-quality image scaling algorithm.

Detailed Description

Functions that change the scaling quality of an image object.

Function Documentation

EAPI Evas_Bool evas_object_image_smooth_scale_get ( const Evas_Object obj  ) 

Retrieves whether the given image object is using use a high-quality image scaling algorithm.

See evas_object_image_smooth_scale_set for more details.

Parameters:
obj The given image object.
Returns:
Whether smooth scale is being used.

EAPI void evas_object_image_smooth_scale_set ( Evas_Object obj,
Evas_Bool  smooth_scale 
)

Sets whether to use of high-quality image scaling algorithm of the given image object.

When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image. This gives better results but is more computationally expensive.

Parameters:
obj The given image object.
smooth_scale Whether to use smooth scale or not.


Copyright © Enlightenment.org

Evas Documentation