Functions that deal with scaling objects. More...
Functions | |
| void | edje_scale_set (double scale) |
| Set Edje's global scaling factor. More... | |
| double | edje_scale_get (void) |
| Retrieve Edje's global scaling factor. More... | |
Functions that deal with scaling objects.
Edje allows one to build scalable interfaces. Scaling factors, which are set to neutral (1.0) values by default (no scaling, actual sizes), are of two types: global and individual.
Scaling affects the values of minimum/maximum part sizes, which are multiplied by it. Font sizes are scaled, too.
| void edje_scale_set | ( | double | scale | ) |
Set Edje's global scaling factor.
| scale | The global scaling factor (the default value is 1.0) |
Edje's global scaling factor will affect all its objects which hadn't their individual scaling factors altered from the default value (which is zero). If they had it set differently, by edje_object_scale_set(), that factor will override the global one.
"scale" property set to 1, will be affected by this function. Check the complete syntax reference for EDC files.References EINA_LIST_FOREACH.
| double edje_scale_get | ( | void | ) |
Retrieve Edje's global scaling factor.
This function returns Edje's global scaling factor.