2007-08-01 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.[ch]: Add floating-point variant of the clutter_actor_get_r[xyz]angx() functions.
This commit is contained in:
parent
4170d7cc43
commit
fbadfa1a6b
@ -1,3 +1,8 @@
|
|||||||
|
2007-08-01 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-actor.[ch]: Add floating-point variant of the
|
||||||
|
clutter_actor_get_r[xyz]angx() functions.
|
||||||
|
|
||||||
2007-07-31 Emmanuele Bassi <ebassi@openedhand.com>
|
2007-07-31 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-stage.[ch]: Fix clutter_stage_set_user_resizable()
|
* clutter/clutter-stage.[ch]: Fix clutter_stage_set_user_resizable()
|
||||||
|
@ -2161,7 +2161,7 @@ clutter_actor_rotate_yx (ClutterActor *self,
|
|||||||
* clutter_actor_get_rxangx:
|
* clutter_actor_get_rxangx:
|
||||||
* @self: A #ClutterActor
|
* @self: A #ClutterActor
|
||||||
*
|
*
|
||||||
* Gets the angle of rotation around x axis in degrees.
|
* Gets the angle of rotation around the X axis.
|
||||||
*
|
*
|
||||||
* Returns: the angle or rotation, as a fixed point value
|
* Returns: the angle or rotation, as a fixed point value
|
||||||
*
|
*
|
||||||
@ -2175,11 +2175,29 @@ clutter_actor_get_rxangx (ClutterActor *self)
|
|||||||
return self->priv->rxang;
|
return self->priv->rxang;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* clutter_actor_get_rxang:
|
||||||
|
* @self: a #ClutterActor
|
||||||
|
*
|
||||||
|
* Gets the angle of rotation around the X axis.
|
||||||
|
*
|
||||||
|
* Return value: the angle of rotation
|
||||||
|
*
|
||||||
|
* Since: 0.4
|
||||||
|
*/
|
||||||
|
gdouble
|
||||||
|
clutter_actor_get_rxang (ClutterActor *self)
|
||||||
|
{
|
||||||
|
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), 0.);
|
||||||
|
|
||||||
|
return CLUTTER_FIXED_TO_FLOAT (self->priv->rxang);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_actor_get_ryangx:
|
* clutter_actor_get_ryangx:
|
||||||
* @self: A #ClutterActor
|
* @self: A #ClutterActor
|
||||||
*
|
*
|
||||||
* Gets the angle of rotation around y axis in degrees.
|
* Gets the angle of rotation around the Y axis.
|
||||||
*
|
*
|
||||||
* Return value: the angle of rotation, as a fixed point value
|
* Return value: the angle of rotation, as a fixed point value
|
||||||
*
|
*
|
||||||
@ -2189,9 +2207,28 @@ ClutterFixed
|
|||||||
clutter_actor_get_ryangx (ClutterActor *self)
|
clutter_actor_get_ryangx (ClutterActor *self)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), 0);
|
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), 0);
|
||||||
|
|
||||||
return self->priv->ryang;
|
return self->priv->ryang;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* clutter_actor_get_ryang:
|
||||||
|
* @self: a #ClutterActor
|
||||||
|
*
|
||||||
|
* Gets the angle of rotation around the Y axis.
|
||||||
|
*
|
||||||
|
* Return value: the angle of rotation
|
||||||
|
*
|
||||||
|
* Since: 0.4
|
||||||
|
*/
|
||||||
|
gdouble
|
||||||
|
clutter_actor_get_ryang (ClutterActor *self)
|
||||||
|
{
|
||||||
|
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), 0.);
|
||||||
|
|
||||||
|
return CLUTTER_FIXED_TO_FLOAT (self->priv->ryang);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_actor_get_rzangx:
|
* clutter_actor_get_rzangx:
|
||||||
* @self: A #ClutterActor
|
* @self: A #ClutterActor
|
||||||
@ -2209,6 +2246,24 @@ clutter_actor_get_rzangx (ClutterActor *self)
|
|||||||
return self->priv->rzang;
|
return self->priv->rzang;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* clutter_actor_get_rzang:
|
||||||
|
* @self: a #ClutterActor
|
||||||
|
*
|
||||||
|
* Gets the angle of rotation around the Z axis.
|
||||||
|
*
|
||||||
|
* Return value: the angle of rotation
|
||||||
|
*
|
||||||
|
* Since: 0.4
|
||||||
|
*/
|
||||||
|
gdouble
|
||||||
|
clutter_actor_get_rzang (ClutterActor *self)
|
||||||
|
{
|
||||||
|
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), 0.);
|
||||||
|
|
||||||
|
return CLUTTER_FIXED_TO_FLOAT (self->priv->rzang);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_actor_set_clip:
|
* clutter_actor_set_clip:
|
||||||
* @self: A #ClutterActor
|
* @self: A #ClutterActor
|
||||||
|
@ -222,6 +222,9 @@ void clutter_actor_rotate_zx (ClutterActor *sel
|
|||||||
ClutterFixed angle,
|
ClutterFixed angle,
|
||||||
gint x,
|
gint x,
|
||||||
gint y);
|
gint y);
|
||||||
|
gdouble clutter_actor_get_rxang (ClutterActor *self);
|
||||||
|
gdouble clutter_actor_get_ryang (ClutterActor *self);
|
||||||
|
gdouble clutter_actor_get_rzang (ClutterActor *self);
|
||||||
ClutterFixed clutter_actor_get_rxangx (ClutterActor *self);
|
ClutterFixed clutter_actor_get_rxangx (ClutterActor *self);
|
||||||
ClutterFixed clutter_actor_get_ryangx (ClutterActor *self);
|
ClutterFixed clutter_actor_get_ryangx (ClutterActor *self);
|
||||||
ClutterFixed clutter_actor_get_rzangx (ClutterActor *self);
|
ClutterFixed clutter_actor_get_rzangx (ClutterActor *self);
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2007-08-01 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter-sections.txt: Add clutter_actot_get_r[xyz]ang()
|
||||||
|
functions.
|
||||||
|
|
||||||
2007-07-31 Emmanuele Bassi <ebassi@openedhand.com>
|
2007-07-31 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter-sections.txt: Update ClutterBackend API.
|
* clutter-sections.txt: Update ClutterBackend API.
|
||||||
|
@ -340,6 +340,9 @@ clutter_actor_get_scalex
|
|||||||
clutter_actor_get_scale
|
clutter_actor_get_scale
|
||||||
clutter_actor_get_abs_size
|
clutter_actor_get_abs_size
|
||||||
clutter_actor_apply_transform_to_point
|
clutter_actor_apply_transform_to_point
|
||||||
|
clutter_actor_get_rxang
|
||||||
|
clutter_actor_get_ryang
|
||||||
|
clutter_actor_get_rzang
|
||||||
clutter_actor_get_rxangx
|
clutter_actor_get_rxangx
|
||||||
clutter_actor_get_ryangx
|
clutter_actor_get_ryangx
|
||||||
clutter_actor_get_rzangx
|
clutter_actor_get_rzangx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user