Description

Enumeration that defines scale types of an image.

Fields

  • fill - Scale the image so that it matches the object's area exactly. The image's aspect ratio might be changed.
  • fit_inside - Scale the image so that it fits inside the object's area while maintaining the aspect ratio. At least one of the dimensions of the image should be equal to the corresponding dimension of the object.
  • fit_outside - Scale the image so that it covers the entire object area while maintaining the aspect ratio. At least one of the dimensions of the image should be equal to the corresponding dimension of the object.
  • tile - Tile image at its original size.
  • none - Not scale the image

Signature

enum Efl.Image.Scale_Type {
    fill: 0,
    fit_inside,
    fit_outside,
    tile,
    none
}

C signature

typedef enum {
    EFL_IMAGE_SCALE_TYPE_FILL = 0,
    EFL_IMAGE_SCALE_TYPE_FIT_INSIDE,
    EFL_IMAGE_SCALE_TYPE_FIT_OUTSIDE,
    EFL_IMAGE_SCALE_TYPE_TILE,
    EFL_IMAGE_SCALE_TYPE_NONE
} Efl_Image_Scale_Type;