2007-11-28 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.[ch]: Documentation fixes.
This commit is contained in:
parent
4976be12ca
commit
f4817f279a
@ -1,3 +1,7 @@
|
||||
2007-11-28 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-actor.[ch]: Documentation fixes.
|
||||
|
||||
2007-11-28 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
Remove the layout containers: they will be moved to a
|
||||
|
@ -3296,19 +3296,21 @@ clutter_actor_get_reactive (ClutterActor *actor)
|
||||
|
||||
/**
|
||||
* clutter_actor_set_anchor_point:
|
||||
* @actor: a #ClutterActor
|
||||
* @anchor_x: X coordinace of the anchor point.
|
||||
* @anchor_y: Y coordinace of the anchor point.
|
||||
* @self: a #ClutterActor
|
||||
* @anchor_x: X coordinate of the anchor point
|
||||
* @anchor_y: Y coordinate of the anchor point
|
||||
*
|
||||
* Sets an anchor point for the @actor. The anchor point is a point in the
|
||||
* coordianate space of the actor to which the actor position within its
|
||||
* parent is relative; the default is 0,0, i.e., the top-left corner.
|
||||
* coordinate space of an actor to which the actor position within its
|
||||
* parent is relative; the default is (0, 0), i.e. the top-left corner of
|
||||
* the actor.
|
||||
*
|
||||
* Since: 0.6
|
||||
*/
|
||||
void
|
||||
clutter_actor_set_anchor_point (ClutterActor *self,
|
||||
gint anchor_x, gint anchor_y)
|
||||
gint anchor_x,
|
||||
gint anchor_y)
|
||||
{
|
||||
ClutterActorPrivate *priv;
|
||||
|
||||
@ -3322,17 +3324,18 @@ clutter_actor_set_anchor_point (ClutterActor *self,
|
||||
|
||||
/**
|
||||
* clutter_actor_get_anchor_point:
|
||||
* @actor: a #ClutterActor
|
||||
* @anchor_x: location for the X coordinace of the anchor point.
|
||||
* @anchor_y: location for the X coordinace of the anchor point.
|
||||
* @self: a #ClutterActor
|
||||
* @anchor_x: return location for the X coordinate of the anchor point
|
||||
* @anchor_y: return location for the y coordinate of the anchor point
|
||||
*
|
||||
* Gets the current anchor point of the @actor.
|
||||
* Gets the current anchor point of the @actor in pixels.
|
||||
*
|
||||
* Since: 0.6
|
||||
*/
|
||||
void
|
||||
clutter_actor_get_anchor_point (ClutterActor *self,
|
||||
gint *anchor_x, gint *anchor_y)
|
||||
gint *anchor_x,
|
||||
gint *anchor_y)
|
||||
{
|
||||
ClutterActorPrivate *priv;
|
||||
|
||||
@ -3349,20 +3352,21 @@ clutter_actor_get_anchor_point (ClutterActor *self,
|
||||
|
||||
/**
|
||||
* clutter_actor_set_anchor_pointu:
|
||||
* @actor: a #ClutterActor
|
||||
* @anchor_x: X coordinace of the anchor point, in multiples of #ClutterUnit.
|
||||
* @anchor_y: Y coordinace of the anchor point, in multiples of #ClutterUnit.
|
||||
* @self: a #ClutterActor
|
||||
* @anchor_x: X coordinate of the anchor point, in #ClutterUnit<!-- -->s
|
||||
* @anchor_y: Y coordinate of the anchor point, in #ClutterUnit<!-- -->s
|
||||
*
|
||||
* Sets an anchor point for the @actor. The anchor point is a point in the
|
||||
* coordinate space of the actor to which the actor position within its
|
||||
* parent is relative; the default is 0,0, i.e., the top-left corner, of the
|
||||
* actor.
|
||||
* Sets an anchor point for the @self. The anchor point is a point in the
|
||||
* coordinate space of an actor to which the actor position within its
|
||||
* parent is relative; the default is (0, 0), i.e. the top-left corner
|
||||
* of the actor.
|
||||
*
|
||||
* Since: 0.6
|
||||
*/
|
||||
void
|
||||
clutter_actor_set_anchor_pointu (ClutterActor *self,
|
||||
ClutterUnit anchor_x, ClutterUnit anchor_y)
|
||||
ClutterUnit anchor_x,
|
||||
ClutterUnit anchor_y)
|
||||
{
|
||||
ClutterActorPrivate *priv;
|
||||
|
||||
@ -3376,17 +3380,18 @@ clutter_actor_set_anchor_pointu (ClutterActor *self,
|
||||
|
||||
/**
|
||||
* clutter_actor_get_anchor_pointu:
|
||||
* @actor: a #ClutterActor
|
||||
* @anchor_x: location for the X coordinace of the anchor point, #ClutterUnit.
|
||||
* @anchor_y: location for the X coordinace of the anchor point, #ClutterUnit.
|
||||
* @self: a #ClutterActor
|
||||
* @anchor_x: return location for the X coordinace of the anchor point
|
||||
* @anchor_y: return location for the X coordinace of the anchor point
|
||||
*
|
||||
* Gets the current anchor point of the @actor.
|
||||
* Gets the current anchor point of the @actor in #ClutterUnit<!-- -->s.
|
||||
*
|
||||
* Since: 0.6
|
||||
*/
|
||||
void
|
||||
clutter_actor_get_anchor_pointu (ClutterActor *self,
|
||||
ClutterUnit *anchor_x, ClutterUnit *anchor_y)
|
||||
ClutterUnit *anchor_x,
|
||||
ClutterUnit *anchor_y)
|
||||
{
|
||||
ClutterActorPrivate *priv;
|
||||
|
||||
@ -3403,11 +3408,11 @@ clutter_actor_get_anchor_pointu (ClutterActor *self,
|
||||
|
||||
/**
|
||||
* clutter_actor_set_anchor_point_from_gravity:
|
||||
* @actor: a #ClutterActor
|
||||
* @self: a #ClutterActor
|
||||
* @gravity: #ClutterGravity.
|
||||
*
|
||||
* Sets an anchor point the actor based on the given gravity (this is a
|
||||
* convenience function wrapping #clutter_actor_set_anchor_point).
|
||||
* convenience function wrapping clutter_actor_set_anchor_point()).
|
||||
*
|
||||
* Since: 0.6
|
||||
*/
|
||||
@ -3496,9 +3501,9 @@ clutter_geometry_get_type (void)
|
||||
{
|
||||
static GType our_type = 0;
|
||||
|
||||
if (our_type == 0)
|
||||
our_type = g_boxed_type_register_static
|
||||
(g_intern_static_string ("ClutterGeometry"),
|
||||
if (G_UNLIKELY (our_type == 0))
|
||||
our_type =
|
||||
g_boxed_type_register_static (g_intern_static_string ("ClutterGeometry"),
|
||||
(GBoxedCopyFunc) clutter_geometry_copy,
|
||||
(GBoxedFreeFunc) clutter_geometry_free);
|
||||
|
||||
@ -3531,9 +3536,9 @@ clutter_vertex_get_type (void)
|
||||
{
|
||||
static GType our_type = 0;
|
||||
|
||||
if (our_type == 0)
|
||||
our_type = g_boxed_type_register_static
|
||||
(g_intern_static_string ("ClutterVertex"),
|
||||
if (G_UNLIKELY (our_type == 0))
|
||||
our_type =
|
||||
g_boxed_type_register_static (g_intern_static_string ("ClutterVertex"),
|
||||
(GBoxedCopyFunc) clutter_vertex_copy,
|
||||
(GBoxedFreeFunc) clutter_vertex_free);
|
||||
|
||||
@ -3565,9 +3570,9 @@ clutter_actor_box_get_type (void)
|
||||
{
|
||||
static GType our_type = 0;
|
||||
|
||||
if (our_type == 0)
|
||||
our_type = g_boxed_type_register_static
|
||||
(g_intern_static_string ("ClutterActorBox"),
|
||||
if (G_UNLIKELY (our_type == 0))
|
||||
our_type =
|
||||
g_boxed_type_register_static (g_intern_static_string ("ClutterActorBox"),
|
||||
(GBoxedCopyFunc) clutter_actor_box_copy,
|
||||
(GBoxedFreeFunc) clutter_actor_box_free);
|
||||
return our_type;
|
||||
|
@ -370,17 +370,17 @@ ClutterActor * clutter_get_actor_by_gid (guint32 id);
|
||||
gboolean clutter_actor_should_pick_paint (ClutterActor *self);
|
||||
|
||||
void clutter_actor_set_anchor_point (ClutterActor *self,
|
||||
gint offset_x,
|
||||
gint offset_y);
|
||||
gint anchor_x,
|
||||
gint anchor_y);
|
||||
void clutter_actor_get_anchor_point (ClutterActor *self,
|
||||
gint *offset_x,
|
||||
gint *offset_y);
|
||||
gint *anchor_x,
|
||||
gint *anchor_y);
|
||||
void clutter_actor_set_anchor_pointu (ClutterActor *self,
|
||||
ClutterUnit offset_x,
|
||||
ClutterUnit offset_y);
|
||||
ClutterUnit anchor_x,
|
||||
ClutterUnit anchor_y);
|
||||
void clutter_actor_get_anchor_pointu (ClutterActor *self,
|
||||
ClutterUnit *offset_x,
|
||||
ClutterUnit *offset_y);
|
||||
ClutterUnit *anchor_x,
|
||||
ClutterUnit *anchor_y);
|
||||
void clutter_actor_set_anchor_point_from_gravity (ClutterActor *self,
|
||||
ClutterGravity gravity);
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
2007-11-28 Emmanuele Bassi,,, <ebassi@sprite>
|
||||
2007-11-28 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
reviewed by: <delete if not using a buddy>
|
||||
* clutter-sections.txt: Documentation fixes.
|
||||
|
||||
* clutter.types:
|
||||
* clutter.types: Remove layout and boxes types.
|
||||
|
||||
2007-11-28 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
|
@ -350,8 +350,13 @@ clutter_actor_apply_transform_to_point
|
||||
<SUBSECTION>
|
||||
ClutterVertex
|
||||
clutter_actor_get_vertices
|
||||
clutter_actor_set_scale_with_gravity
|
||||
clutter_actor_set_scale_with_gravityx
|
||||
|
||||
<SUBSECTION>
|
||||
clutter_actor_set_anchor_point
|
||||
clutter_actor_get_anchor_point
|
||||
clutter_actor_set_anchor_pointu
|
||||
clutter_actor_get_anchor_pointu
|
||||
clutter_actor_set_anchor_point_from_gravity
|
||||
|
||||
<SUBSECTION>
|
||||
clutter_actor_set_reactive
|
||||
|
Loading…
Reference in New Issue
Block a user