Evas_Object_Image_Border_Group (3) - Linux Manuals

Evas_Object_Image_Border_Group: Functions that adjust the unscaled image border of image objects.

NAME

Image Object Border Functions - Functions that adjust the unscaled image border of image objects.

Functions


EAPI void evas_object_image_border_set (Evas_Object *obj, int l, int r, int t, int b)
Sets how much of each border of the given image object is not to be scaled.
EAPI void evas_object_image_border_get (const Evas_Object *obj, int *l, int *r, int *t, int *b)
Retrieves how much of each border of the given image object is not to be scaled.

Detailed Description

Functions that adjust the unscaled image border of image objects.

Function Documentation

EAPI void evas_object_image_border_get (const Evas_Object * obj, int * l, int * r, int * t, int * b)

Retrieves how much of each border of the given image object is not to be scaled.

See evas_object_image_border_set for more details.

Parameters:

obj The given image object.
l Location to store the left border width in, or NULL.
r Location to store the right border width in, or NULL.
t Location to store the top border width in, or NULL.
b Location to store the bottom border width in, or NULL.

EAPI void evas_object_image_border_set (Evas_Object * obj, int l, int r, int t, int b)

Sets how much of each border of the given image object is not to be scaled.

When rendering, the image may be scaled to fit the size of the image object. This function sets what area around the border of the image is not to be scaled. This sort of function is useful for widget theming, where, for example, buttons may be of varying sizes, but the border size must remain constant.

The units used for l, r, t and b are output units.

Parameters:

obj The given image object.
l Distance of the left border that is not to be stretched.
r Distance of the right border that is not to be stretched.
t Distance of the top border that is not to be stretched.
b Distance of the bottom border that is not to be stretched.

Author

Generated automatically by Doxygen for Evas from the source code.