/** * @defgroup Elm_Scaling Widget Scaling * @ingroup Elementary * * Different widgets can be scaled independently. These functions * allow you to manipulate this scaling on a per-widget basis. The * object and all its children get their scaling factors multiplied * by the scale factor set. This is multiplicative, in that if a * child also has a scale size set it is in turn multiplied by its * parent's scale size. @c 1.0 means “don't scale”, @c 2.0 is * double size, @c 0.5 is half, etc. * * @ref general_functions_example_page "This" example contemplates * some of these functions. */ /** * Set the scaling factor for a given Elementary object * * @param obj The Elementary to operate on * @param scale Scale factor (from @c 0.0 up, with @c 1.0 meaning * no scaling) * * @ingroup Elm_Scaling */ EAPI void elm_object_scale_set(Evas_Object *obj, double scale); /** * Get the scaling factor for a given Elementary object * * @param obj The object * @return The scaling factor set by elm_object_scale_set() * * @ingroup Elm_Scaling */ EAPI double elm_object_scale_get(const Evas_Object *obj);