evas: fix Evas_VG eo files. 47/43147/1
authorCedric BAIL <cedric@osg.samsung.com>
Mon, 15 Dec 2014 08:14:05 +0000 (09:14 +0100)
committerSubhransu Mohanty <sub.mohanty@samsung.com>
Wed, 8 Jul 2015 01:56:36 +0000 (10:56 +0900)
Change-Id: I5e4080383f5f63197244f963b8f654b582a8c21f

src/lib/evas/canvas/evas_vg.eo
src/lib/evas/canvas/evas_vg_node.eo
src/lib/evas/canvas/evas_vg_root_node.eo

index 95c1ef0..64cd2d1 100644 (file)
@@ -10,6 +10,19 @@ class Evas.VG (Evas.Object, Efl.File)
            Evas_VG_Node *container;
         }
       }
+      size {
+         get {
+           /*@
+             Get the size as defined in the original data
+             before any scaling (as in the file or when the
+             object were added).
+           */
+        }
+        values {
+           uint w;
+           uint h;
+        }
+      }
    }
    implements {
       Eo.Base.constructor;
index e989f7a..b7df469 100644 (file)
@@ -86,11 +86,27 @@ abstract Evas.VG_Node (Eo.Base)
    }
    methods {
       bound_get {
+        /*@
+        Give the bounding box in screen coordinate as being drawn.
+        It will start as the control box until it is refined once
+        the shape is computed.
+       */
+         return: bool @warn_unused;
+        params {
+           @out Eina_Rectangle r;
+        }
+      }
+      original_bound_get {
+        /*@
+        Give the bounding box in screen coordinate as defined in
+        the file or at the insertion of the object (before any scaling).
+       */
          return: bool @warn_unused;
         params {
            @out Eina_Rectangle r;
         }
       }
+      
       raise {
         /*@
          Raise @p obj to the top of its layer.
index db0837d..9489c73 100644 (file)
@@ -1,4 +1,4 @@
-class Evas.VG_Root_Node (Evas.VG_Node)
+class Evas.VG_Root_Node (Evas.VG_Container)
 {
    eo_prefix: evas_vg_root_node;
    implements {