src/lib conflict fixed
[framework/uifw/elementary.git] / src / lib / elm_scale.h
1 /**
2  * @defgroup Scaling Widget Scaling
3  *
4  * Different widgets can be scaled independently. These functions
5  * allow you to manipulate this scaling on a per-widget basis. The
6  * object and all its children get their scaling factors multiplied
7  * by the scale factor set. This is multiplicative, in that if a
8  * child also has a scale size set it is in turn multiplied by its
9  * parent's scale size. @c 1.0 means “don't scale”, @c 2.0 is
10  * double size, @c 0.5 is half, etc.
11  *
12  * @ref general_functions_example_page "This" example contemplates
13  * some of these functions.
14  */
15
16 /**
17  * Set the scaling factor for a given Elementary object
18  *
19  * @param obj The Elementary to operate on
20  * @param scale Scale factor (from @c 0.0 up, with @c 1.0 meaning
21  * no scaling)
22  *
23  * @ingroup Scaling
24  */
25 EAPI void   elm_object_scale_set(Evas_Object *obj, double scale);
26
27 /**
28  * Get the scaling factor for a given Elementary object
29  *
30  * @param obj The object
31  * @return The scaling factor set by elm_object_scale_set()
32  *
33  * @ingroup Scaling
34  */
35 EAPI double elm_object_scale_get(const Evas_Object *obj);