aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/animation/scale/property/scale.txt
blob: 31c82db6c9034d65990784238acdc1c4ed38df82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
~~Title: Efl.Animation.Scale.scale~~
===== Values =====

  * **from_scale_x** - %%Scale factor along x axis when animation starts%%
  * **from_scale_y** - %%Scale factor along y axis when animation starts%%
  * **to_scale_x** - %%Scale factor along x axis when animation ends%%
  * **to_scale_y** - %%Scale factor along y axis when animation ends%%
  * **pivot** - %%Pivot object for the center point. If the pivot object is NULL, then the object is scaled on itself.%%
  * **cx** - %%X relative coordinate of the center point. The left end is 0.0 and the right end is 1.0 (the center is 0.5).%%
  * **cy** - %%Y relative coordinate of the center point. The top end is 0.0 and the bottom end is 1.0 (the center is 0.5).%%
===== Description =====

%%Scale property%%
{{page>:develop:api-include:efl:animation:scale:property:scale:description&nouser&nolink&nodate}}


===== Signature =====

<code>
@property scale {
    get {
        values {
            from_scale_x: double;
            from_scale_y: double;
            to_scale_x: double;
            to_scale_y: double;
            pivot: free(Efl.Canvas.Object, efl_del);
            cx: double;
            cy: double;
        }
    }
    set {
        values {
            from_scale_x: double;
            from_scale_y: double;
            to_scale_x: double;
            to_scale_y: double;
            pivot: free(Efl.Canvas.Object, efl_del);
            cx: double;
            cy: double;
        }
    }
}
</code>

===== C signature =====

<code c>
void efl_animation_scale_get(const Eo *obj, double *from_scale_x, double *from_scale_y, double *to_scale_x, double *to_scale_y, Efl_Canvas_Object **pivot, double *cx, double *cy);
void efl_animation_scale_set(Eo *obj, double from_scale_x, double from_scale_y, double to_scale_x, double to_scale_y, Efl_Canvas_Object *pivot, double cx, double cy);
</code>

===== Implemented by =====

  * **Efl.Animation.Scale.scale**