mirror of
https://github.com/brl/mutter.git
synced 2025-08-01 14:15:30 +00:00
Bug 1121 - Setting anchor point doesn't work if set too early
* clutter/clutter-actor.c (clutter_actor_set_anchor_point_from_gravity) (clutter_actor_move_anchor_point_from_gravity): Add documentation to make it clear that the anchor point won't move when the actor is resized.
This commit is contained in:
@@ -6264,6 +6264,12 @@ clutter_actor_get_anchor_pointu (ClutterActor *self,
|
||||
* actor postion so that its relative position within its parent remains
|
||||
* unchanged.
|
||||
*
|
||||
* Note that the anchor is still stored as a point and the gravity
|
||||
* value is forgotten. For example, if you set the anchor point to
|
||||
* %CLUTTER_GRAVITY_SOUTH_EAST and later double the size of the actor,
|
||||
* the anchor point will not move to the bottom right and will now be
|
||||
* in the center of the actor.
|
||||
*
|
||||
* Since: 0.6
|
||||
*/
|
||||
void
|
||||
@@ -6299,6 +6305,12 @@ clutter_actor_move_anchor_point_from_gravity (ClutterActor *self,
|
||||
* Sets an anchor point on the actor, based on the given gravity (this is a
|
||||
* convenience function wrapping clutter_actor_set_anchor_point()).
|
||||
*
|
||||
* Note that the anchor is still stored as a point and the gravity
|
||||
* value is forgotten. For example, if you set the anchor point to
|
||||
* %CLUTTER_GRAVITY_SOUTH_EAST and later double the size of the actor,
|
||||
* the anchor point will not move to the bottom right and will now be
|
||||
* in the center of the actor.
|
||||
*
|
||||
* Since: 0.6
|
||||
*/
|
||||
void
|
||||
|
Reference in New Issue
Block a user