Top |
gdouble | x-scale-end | Read / Write |
gdouble | x-scale-start | Read / Write |
gdouble | y-scale-end | Read / Write |
gdouble | y-scale-start | Read / Write |
ClutterBehaviour * clutter_behaviour_scale_new (ClutterAlpha *alpha
,gdouble x_scale_start
,gdouble y_scale_start
,gdouble x_scale_end
,gdouble y_scale_end
);
clutter_behaviour_scale_new
has been deprecated since version 1.6 and should not be used in newly-written code.
Creates a new ClutterBehaviourScale instance.
If alpha
is not NULL
, the ClutterBehaviour will take ownership
of the ClutterAlpha instance. In the case when alpha
is NULL
,
it can be set later with clutter_behaviour_set_alpha()
.
alpha |
a ClutterAlpha instance, or |
[allow-none] |
x_scale_start |
initial scale factor on the X axis |
|
y_scale_start |
initial scale factor on the Y axis |
|
x_scale_end |
final scale factor on the X axis |
|
y_scale_end |
final scale factor on the Y axis |
Since: 0.2
void clutter_behaviour_scale_set_bounds (ClutterBehaviourScale *scale
,gdouble x_scale_start
,gdouble y_scale_start
,gdouble x_scale_end
,gdouble y_scale_end
);
clutter_behaviour_scale_set_bounds
has been deprecated since version 1.6 and should not be used in newly-written code.
Sets the bounds used by scale behaviour.
scale |
||
x_scale_start |
initial scale factor on the X axis |
|
y_scale_start |
initial scale factor on the Y axis |
|
x_scale_end |
final scale factor on the X axis |
|
y_scale_end |
final scale factor on the Y axis |
Since: 0.6
void clutter_behaviour_scale_get_bounds (ClutterBehaviourScale *scale
,gdouble *x_scale_start
,gdouble *y_scale_start
,gdouble *x_scale_end
,gdouble *y_scale_end
);
clutter_behaviour_scale_get_bounds
has been deprecated since version 1.6 and should not be used in newly-written code.
Retrieves the bounds used by scale behaviour.
scale |
||
x_scale_start |
return location for the initial scale factor on the X
axis, or |
[out] |
y_scale_start |
return location for the initial scale factor on the Y
axis, or |
[out] |
x_scale_end |
return location for the final scale factor on the X axis,
or |
[out] |
y_scale_end |
return location for the final scale factor on the Y axis,
or |
[out] |
Since: 0.4
ClutterGravity
has been deprecated since version 1.22 and should not be used in newly-written code.
Use the normalized ClutterActor pivot point instead
Gravity of the scaling operations. When a gravity different than
CLUTTER_GRAVITY_NONE
is used, an actor is scaled keeping the position
of the specified portion at the same coordinates.
Do not apply any gravity |
||
Scale from topmost downwards |
||
Scale from the top right corner |
||
Scale from the right side |
||
Scale from the bottom right corner |
||
Scale from the bottom upwards |
||
Scale from the bottom left corner |
||
Scale from the left side |
||
Scale from the top left corner |
||
Scale from the center. |
Since: 0.2
struct ClutterBehaviourScale;
ClutterBehaviourScale
has been deprecated since version 1.6 and should not be used in newly-written code.
Use clutter_actor_animate()
with “scale-x”
and “scale-y” instead.
The ClutterBehaviourScale struct contains only private data and should be accessed using the provided API
Since: 0.2
struct ClutterBehaviourScaleClass { };
ClutterBehaviourScaleClass
has been deprecated since version 1.6 and should not be used in newly-written code.
The ClutterBehaviourScaleClass struct contains only private data
Since: 0.2
“x-scale-end”
property “x-scale-end” gdouble
The final scaling factor on the X axis for the actors.
ClutterBehaviourScale:x-scale-end
has been deprecated since version 1.6 and should not be used in newly-written code.
Flags: Read / Write
Allowed values: >= 0
Default value: 1
Since: 0.6
“x-scale-start”
property “x-scale-start” gdouble
The initial scaling factor on the X axis for the actors.
ClutterBehaviourScale:x-scale-start
has been deprecated since version 1.6 and should not be used in newly-written code.
Flags: Read / Write
Allowed values: >= 0
Default value: 1
Since: 0.6
“y-scale-end”
property “y-scale-end” gdouble
The final scaling factor on the Y axis for the actors.
ClutterBehaviourScale:y-scale-end
has been deprecated since version 1.6 and should not be used in newly-written code.
Flags: Read / Write
Allowed values: >= 0
Default value: 1
Since: 0.6
“y-scale-start”
property “y-scale-start” gdouble
The initial scaling factor on the Y axis for the actors.
ClutterBehaviourScale:y-scale-start
has been deprecated since version 1.6 and should not be used in newly-written code.
Flags: Read / Write
Allowed values: >= 0
Default value: 1
Since: 0.6