This struct holds the description of a stretchable region in one dimension (vertical or horizontal). Used when scaling an image.

offset + length should be smaller than image size in that dimension.

Since 1.23


  • offset - First pixel of the stretchable region, starting at 0.
  • length - Length of the stretchable region in pixels.


struct Efl.Gfx.Image_Stretch_Region {
    offset: uint;
    length: uint;

C signature

typedef struct _Efl_Gfx_Image_Stretch_Region {
    unsigned int offset;
    unsigned int length;
} Efl_Gfx_Image_Stretch_Region;