Tizen Native API
|
Functions | |
void | edje_scale_set (double scale) |
Sets Edje's global scaling factor. | |
double | edje_scale_get (void) |
Gets Edje's global scaling factor. | |
Eina_Bool | edje_object_scale_set (Evas_Object *obj, double scale) |
Sets the scaling factor for a given edje object. | |
double | edje_object_scale_get (const Evas_Object *obj) |
Gets a given Edje object's scaling factor. | |
double | edje_object_base_scale_get (const Evas_Object *obj) |
Gets a given Edje object's base_scale factor. |
This group discusses functions that deal with scaling objects.
1.0
) values by default (no scaling, actual sizes), are of two types: global and individual.double edje_object_base_scale_get | ( | const Evas_Object * | obj | ) |
Gets a given Edje object's base_scale factor.
This function returns the base_scale factor set on the Edje object. The base_scale can be set in the collection of edc. If it isn't set, the default value is 1.0.
[in] | obj | A handle to an edje object |
double edje_object_scale_get | ( | const Evas_Object * | obj | ) |
Gets a given Edje object's scaling factor.
This function returns the individual
scaling factor set on the obj edje object.
[in] | obj | A handle to an edje object |
Eina_Bool edje_object_scale_set | ( | Evas_Object * | obj, |
double | scale | ||
) |
Sets the scaling factor for a given edje object.
This function sets an individual scaling factor on the obj edje object. This property (or Edje's global scaling factor, when applicable), affects this object's part sizes. If scale is not zero, then the individual scaling overrides any global scaling set, for the object obj's parts. Put it back to zero to get the effects of global scaling again.
"scale"
property set to 1
, are affected by this function. Check the complete syntax reference for EDC files.[in] | obj | A handle to an edje object |
[in] | scale | The scaling factor (the default value is 0.0 , meaning individual scaling is not set) |
double edje_scale_get | ( | void | ) |
Gets Edje's global scaling factor.
This function returns Edje's global scaling factor.
void edje_scale_set | ( | double | scale | ) |
Sets Edje's global scaling factor.
"scale"
property set to 1
, are affected by this function. Check the complete syntax reference for EDC files.[in] | scale | The global scaling factor (the default value is 1.0 ) |