[vala/0.10] clutter-1.0: Fix Actor methods about transformation matrix and rotation.



commit eb3034ad86c30f6c8af21c1a9204868234f91a0d
Author: Luca Bruno <lucabru src gnome org>
Date:   Sun Feb 6 09:06:33 2011 +0100

    clutter-1.0: Fix Actor methods about transformation matrix and rotation.
    
    Fixed methods are apply_transform, get_tranformation_matrix
    and get_rotation.

 vapi/clutter-1.0.vapi                          |    6 +++---
 vapi/packages/clutter-1.0/clutter-1.0.metadata |    7 ++++++-
 2 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index eeda4df..c0a7297 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -89,7 +89,7 @@ namespace Clutter {
 		public unowned Clutter.Animation animatev (ulong mode, uint duration, [CCode (array_length_pos = 2.9)] string[] properties, [CCode (array_length_pos = 2.9)] GLib.Value[] values);
 		public void apply_relative_transform_to_point (Clutter.Actor? ancestor, Clutter.Vertex point, out Clutter.Vertex vertex);
 		[NoWrapper]
-		public virtual void apply_transform (Cogl.Matrix matrix);
+		public virtual void apply_transform (ref Cogl.Matrix matrix);
 		public void apply_transform_to_point (Clutter.Vertex point, out Clutter.Vertex vertex);
 		public unowned Pango.Context create_pango_context ();
 		public unowned Pango.Layout create_pango_layout (string text);
@@ -117,14 +117,14 @@ namespace Clutter {
 		public void get_preferred_size (out unowned float? min_width_p, out unowned float? min_height_p, out unowned float? natural_width_p, out unowned float? natural_height_p);
 		public virtual void get_preferred_width (float for_height, out float min_width_p, out float natural_width_p);
 		public Clutter.RequestMode get_request_mode ();
-		public double get_rotation (out Clutter.RotateAxis axis, out float x, out float y, out float z);
+		public double get_rotation (Clutter.RotateAxis axis, out float x, out float y, out float z);
 		public void get_scale (out double scale_x, out double scale_y);
 		public void get_scale_center (out float center_x, out float center_y);
 		public unowned Clutter.Shader get_shader ();
 		public void get_size (out float width, out float height);
 		public unowned Clutter.Stage get_stage ();
 		public Clutter.TextDirection get_text_direction ();
-		public void get_transformation_matrix (Cogl.Matrix matrix);
+		public Cogl.Matrix get_transformation_matrix ();
 		public void get_transformed_position (out float x, out float y);
 		public void get_transformed_size (out float width, out float height);
 		public Clutter.Gravity get_z_rotation_gravity ();
diff --git a/vapi/packages/clutter-1.0/clutter-1.0.metadata b/vapi/packages/clutter-1.0/clutter-1.0.metadata
index 1021c84..31150a5 100644
--- a/vapi/packages/clutter-1.0/clutter-1.0.metadata
+++ b/vapi/packages/clutter-1.0/clutter-1.0.metadata
@@ -32,6 +32,7 @@ clutter_actor_animatev.properties array_length_pos="2.9"
 clutter_actor_animatev.values is_array="1" array_length_pos="2.9"
 clutter_actor_apply_relative_transform_to_point.ancestor nullable="1"
 clutter_actor_apply_relative_transform_to_point.vertex is_out="1" transfer_ownership="1"
+clutter_actor_apply_transform.matrix is_ref="1"
 clutter_actor_apply_transform_to_point.vertex is_out="1" transfer_ownership="1"
 clutter_actor_has_clip name="get_has_clip" hidden="1"
 clutter_actor_has_pointer name="get_has_pointer"
@@ -53,12 +54,16 @@ clutter_actor_get_preferred_height.natural_height_p is_out="1"
 clutter_actor_get_preferred_size.* is_out="1" nullable="1"
 clutter_actor_get_preferred_width.min_width_p is_out="1"
 clutter_actor_get_preferred_width.natural_width_p is_out="1"
-clutter_actor_get_rotation.* is_out="1"
+clutter_actor_get_rotation.x is_out="1"
+clutter_actor_get_rotation.y is_out="1"
+clutter_actor_get_rotation.z is_out="1"
 clutter_actor_get_scale.* is_out="1"
 clutter_actor_get_scale_center.* is_out="1"
 clutter_actor_get_scale_gravity hidden="1"
 clutter_actor_get_size.* is_out="1"
 clutter_actor_get_stage type_name="Stage"
+clutter_actor_get_transformation_matrix type_name="Cogl.Matrix"
+clutter_actor_get_transformation_matrix.matrix hidden="1"
 clutter_actor_get_transformed_position.* is_out="1"
 clutter_actor_get_transformed_size.* is_out="1"
 clutter_actor_get_width hidden="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]