Description

The scaling factor of an object.

This property is an individual scaling factor on the object (Edje or UI widget). This property (or Edje's global scaling factor, when applicable), will affect this object's part sizes. If scale is not zero, than the individual scaling will override any global scaling set, for the object obj's parts. Set it back to zero to get the effects of the global scaling again.

In Edje, only parts which, at EDC level, had the "scale" property set to 1, will be affected by this function. Check the complete "syntax reference" for EDC files.

Values

  • scale - The scaling factor (the default value is 0.0, meaning individual scaling is not set)

Getter

Gets an object's scaling factor.

Setter

Sets the scaling factor of an object.

Signature

@property scale @pure_virtual {
    get {
        values {
            scale: double (0.000000);
        }
    }
    set {
        values {
            scale: double (0.000000);
        }
    }
}

C signature

double efl_gfx_scale_get(const Eo *obj);
void efl_gfx_scale_set(Eo *obj, double scale);

Implemented by

  • Efl.Gfx.scale