efl: follow Efl.VG naming by using bounds_get as an API name.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 3 Apr 2015 14:38:08 +0000 (16:38 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 3 Apr 2015 14:38:08 +0000 (16:38 +0200)
src/lib/ector/cairo/ector_renderer_cairo_shape.c
src/lib/efl/interfaces/efl_gfx_shape.c
src/lib/efl/interfaces/efl_gfx_shape.eo
src/lib/evas/canvas/evas_vg_shape.c

index e4706ea7100bbac5320c3d7b0c08d64ac4710282..523bd7ed5770abd04f12254794dbc937394d903d 100644 (file)
@@ -228,7 +228,7 @@ _ector_renderer_cairo_shape_ector_renderer_generic_base_bounds_get(Eo *obj,
    Ector_Renderer_Cairo_Base_Data *bd;
 
    // FIXME: It should be possible to actually ask cairo about that
-   eo_do(obj, efl_gfx_shape_bounding_box_get(r));
+   eo_do(obj, efl_gfx_shape_bounds_get(r));
 
    bd = eo_data_scope_get(obj, ECTOR_RENDERER_CAIRO_BASE_CLASS);
    r->x += bd->generic->origin.x;
index 97a1e38e36dbfb3ac5a33f125f58621b86dca87a..64700739bf9bd54ec45c19e342d70ec376c59431 100644 (file)
@@ -203,9 +203,9 @@ _efl_gfx_shape_path_length_get(Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd,
 }
 
 void
-_efl_gfx_shape_bounding_box_get(Eo *obj EINA_UNUSED,
-                                Efl_Gfx_Shape_Data *pd,
-                                Eina_Rectangle *r)
+_efl_gfx_shape_bounds_get(Eo *obj EINA_UNUSED,
+                          Efl_Gfx_Shape_Data *pd,
+                          Eina_Rectangle *r)
 {
    double minx, miny, maxx, maxy;
    unsigned int i;
index 9340fe0604e76fb06cc671e81e3e559382f17007..37d0abd3ec01b55c66a33f807389971854a9dd04 100644 (file)
@@ -189,7 +189,7 @@ mixin Efl.Gfx.Shape
           @in Eo *dup_from; /*@ Shape object from where data will be copied.*/
         }
       }
-      bounding_box_get {
+      bounds_get {
         /*@
           Compute and return the bounding box of the currently set path
 
index 644f9e6002896efe9b35c3c165646186faf48452..7b7ec01f062bce0d103997502b9eaf2d846f8994 100644 (file)
@@ -34,7 +34,7 @@ _efl_vg_shape_efl_vg_base_bounds_get(Eo *obj,
                                     Eina_Rectangle *r)
 {
    // FIXME: Use the renderer bounding box when it has been created instead of an estimation
-   eo_do(obj, efl_gfx_shape_bounding_box_get(r));
+   eo_do(obj, efl_gfx_shape_bounds_get(r));
 }
 
 static void