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:
Neil Roberts 2008-09-17 10:40:32 +00:00
parent 3fb00f9cdd
commit ae8bab0bc8
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,13 @@
2008-09-17 Neil Roberts <neil@linux.intel.com>
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.
2008-09-16 Neil Roberts <neil@linux.intel.com>
Bug 1100 - WM_SIZE not handled correctly, user_resize and

View File

@ -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