discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=09f2fab14440ceb6e71b7af681edc44fffc82733

commit 09f2fab14440ceb6e71b7af681edc44fffc82733
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Feb 12 16:58:57 2018 -0500

    interfaces: merge all bounds_get methods into efl.gfx.path
    
    ref 884fc35160152712decdf7fd43082ef3912c0856
---
 src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c  |  2 +-
 src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.eo |  4 ++--
 src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c  |  2 +-
 src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.eo |  4 ++--
 src/lib/ector/cairo/ector_renderer_cairo_shape.c            |  2 +-
 src/lib/ector/cairo/ector_renderer_cairo_shape.eo           |  4 ++--
 src/lib/ector/ector_renderer.eo                             |  6 ------
 src/lib/ector/gl/ector_renderer_gl_gradient_linear.c        |  2 +-
 src/lib/ector/gl/ector_renderer_gl_gradient_linear.eo       |  4 ++--
 src/lib/ector/gl/ector_renderer_gl_gradient_radial.c        |  2 +-
 src/lib/ector/gl/ector_renderer_gl_gradient_radial.eo       |  4 ++--
 src/lib/ector/gl/ector_renderer_gl_shape.c                  |  4 ++--
 src/lib/ector/gl/ector_renderer_gl_shape.eo                 |  4 ++--
 src/lib/evas/canvas/efl_vg.eo                               | 13 +------------
 src/lib/evas/canvas/efl_vg_container.eo                     |  2 +-
 src/lib/evas/canvas/efl_vg_gradient_linear.eo               |  2 +-
 src/lib/evas/canvas/efl_vg_gradient_radial.eo               |  2 +-
 src/lib/evas/canvas/efl_vg_shape.eo                         |  1 -
 src/lib/evas/canvas/evas_vg_container.c                     |  6 +++---
 src/lib/evas/canvas/evas_vg_gradient_linear.c               |  2 +-
 src/lib/evas/canvas/evas_vg_gradient_radial.c               |  2 +-
 src/lib/evas/canvas/evas_vg_node.c                          |  8 ++++----
 src/lib/evas/canvas/evas_vg_shape.c                         |  9 +--------
 src/static_libs/vg_common/vg_common.c                       |  4 ++--
 24 files changed, 35 insertions(+), 60 deletions(-)

diff --git a/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c 
b/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c
index 40783d1bfc..d6ed647ed7 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c
+++ b/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c
@@ -113,7 +113,7 @@ 
_ector_renderer_cairo_gradient_linear_ector_renderer_cairo_op_fill(Eo *obj,
 }
 
 static void
-_ector_renderer_cairo_gradient_linear_ector_renderer_boundary_get(Eo *obj,
+_ector_renderer_cairo_gradient_linear_efl_gfx_path_bounds_get(Eo *obj,
                                                                 
Ector_Renderer_Cairo_Gradient_Linear_Data *pd EINA_UNUSED,
                                                                 Eina_Rect *r)
 {
diff --git a/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.eo 
b/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.eo
index 1d8d4d1d15..948792a9c0 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.eo
+++ b/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.eo
@@ -1,11 +1,11 @@
-class Ector.Renderer.Cairo.Gradient.Linear (Ector.Renderer.Cairo, 
Ector.Renderer.Gradient, Ector.Renderer.Gradient.Linear)
+class Ector.Renderer.Cairo.Gradient.Linear (Ector.Renderer.Cairo, 
Ector.Renderer.Gradient, Ector.Renderer.Gradient.Linear, Efl.Gfx.Path)
 {
    [[Ector cairo renderer gradient linear]]
    eo_prefix: ector_renderer_cairo_gradient_linear;
    implements {
       Ector.Renderer.prepare;
       Ector.Renderer.draw;
-      Ector.Renderer.boundary_get;
+      Efl.Gfx.Path.bounds_get;
       Ector.Renderer.crc { get; }
       Ector.Renderer.Cairo.op_fill;
       Efl.Object.finalize;
diff --git a/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c 
b/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c
index 555c553dc0..85764bcdcd 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c
+++ b/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c
@@ -136,7 +136,7 @@ 
_ector_renderer_cairo_gradient_radial_ector_renderer_cairo_op_fill(Eo *obj,
 }
 
 static void
-_ector_renderer_cairo_gradient_radial_ector_renderer_boundary_get(Eo *obj 
EINA_UNUSED,
+_ector_renderer_cairo_gradient_radial_efl_gfx_path_bounds_get(Eo *obj 
EINA_UNUSED,
                                                                 
Ector_Renderer_Cairo_Gradient_Radial_Data *pd EINA_UNUSED,
                                                                 Eina_Rect *r)
 {
diff --git a/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.eo 
b/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.eo
index e95a14fdd4..afcd44182c 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.eo
+++ b/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.eo
@@ -1,11 +1,11 @@
-class Ector.Renderer.Cairo.Gradient.Radial (Ector.Renderer.Cairo, 
Ector.Renderer.Gradient, Ector.Renderer.Gradient.Radial)
+class Ector.Renderer.Cairo.Gradient.Radial (Ector.Renderer.Cairo, 
Ector.Renderer.Gradient, Ector.Renderer.Gradient.Radial, Efl.Gfx.Path)
 {
    [[Ector cairo renderer gradient radial]]
    eo_prefix: ector_renderer_cairo_gradient_radial;
    implements {
       Ector.Renderer.prepare;
       Ector.Renderer.draw;
-      Ector.Renderer.boundary_get;
+      Efl.Gfx.Path.bounds_get;
       Ector.Renderer.crc { get; }
       Ector.Renderer.Cairo.op_fill;
       Efl.Object.destructor;
diff --git a/src/lib/ector/cairo/ector_renderer_cairo_shape.c 
b/src/lib/ector/cairo/ector_renderer_cairo_shape.c
index dcd954d62f..3f147fc81d 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_shape.c
+++ b/src/lib/ector/cairo/ector_renderer_cairo_shape.c
@@ -237,7 +237,7 @@ _ector_renderer_cairo_shape_ector_renderer_cairo_op_fill(Eo 
*obj EINA_UNUSED,
 }
 
 static void
-_ector_renderer_cairo_shape_ector_renderer_boundary_get(Eo *obj,
+_ector_renderer_cairo_shape_efl_gfx_path_bounds_get(Eo *obj,
                                                       
Ector_Renderer_Cairo_Shape_Data *pd EINA_UNUSED,
                                                       Eina_Rect *r)
 {
diff --git a/src/lib/ector/cairo/ector_renderer_cairo_shape.eo 
b/src/lib/ector/cairo/ector_renderer_cairo_shape.eo
index cbc980f430..b76dd29879 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_shape.eo
+++ b/src/lib/ector/cairo/ector_renderer_cairo_shape.eo
@@ -1,11 +1,11 @@
-class Ector.Renderer.Cairo.Shape (Ector.Renderer.Cairo, Ector.Renderer.Shape)
+class Ector.Renderer.Cairo.Shape (Ector.Renderer.Cairo, Ector.Renderer.Shape, 
Efl.Gfx.Path)
 {
    [[Ector cairo renderer shape class]]
    eo_prefix: ector_renderer_cairo_shape;
    implements {
       Ector.Renderer.prepare;
       Ector.Renderer.draw;
-      Ector.Renderer.boundary_get;
+      Efl.Gfx.Path.bounds_get;
       Ector.Renderer.crc { get; }
       Ector.Renderer.Cairo.op_fill;
       Efl.Object.constructor;
diff --git a/src/lib/ector/ector_renderer.eo b/src/lib/ector/ector_renderer.eo
index 3ac2347888..eaddc64fb0 100644
--- a/src/lib/ector/ector_renderer.eo
+++ b/src/lib/ector/ector_renderer.eo
@@ -107,12 +107,6 @@ abstract Ector.Renderer (Efl.Object)
             return: uint; [[CRC value]]
     }
       }
-      boundary_get @pure_virtual {
-         [[Retrieves the bounds of the renderer]]
-    params {
-       @out r: Eina.Rect; [[Bounds as @Eina.Rect]]
-    }
-      }
       draw @pure_virtual {
           [[Actual draw operation]]
          return: bool; [[$true on success, $false otherwise]]
diff --git a/src/lib/ector/gl/ector_renderer_gl_gradient_linear.c 
b/src/lib/ector/gl/ector_renderer_gl_gradient_linear.c
index a84a341780..4aed54484d 100644
--- a/src/lib/ector/gl/ector_renderer_gl_gradient_linear.c
+++ b/src/lib/ector/gl/ector_renderer_gl_gradient_linear.c
@@ -40,7 +40,7 @@ _ector_renderer_gl_gradient_linear_ector_renderer_draw(Eo 
*obj, Ector_Renderer_G
 }
 
 static void
-_ector_renderer_gl_gradient_linear_ector_renderer_boundary_get(Eo *obj 
EINA_UNUSED,
+_ector_renderer_gl_gradient_linear_efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED,
                                                              
Ector_Renderer_GL_Gradient_Linear_Data *pd,
                                                              Eina_Rect *r)
 {
diff --git a/src/lib/ector/gl/ector_renderer_gl_gradient_linear.eo 
b/src/lib/ector/gl/ector_renderer_gl_gradient_linear.eo
index 0626ec5618..0623a8ebb9 100644
--- a/src/lib/ector/gl/ector_renderer_gl_gradient_linear.eo
+++ b/src/lib/ector/gl/ector_renderer_gl_gradient_linear.eo
@@ -1,11 +1,11 @@
-class Ector.Renderer.GL.Gradient.Linear (Ector.Renderer.GL, 
Ector.Renderer.Gradient, Ector.Renderer.Gradient.Linear)
+class Ector.Renderer.GL.Gradient.Linear (Ector.Renderer.GL, 
Ector.Renderer.Gradient, Ector.Renderer.Gradient.Linear, Efl.Gfx.Path)
 {
    [[Ector GL renderer gradient linear]]
    eo_prefix: ector_renderer_gl_gradient_linear;
    implements {
       Ector.Renderer.prepare;
       Ector.Renderer.draw;
-      Ector.Renderer.boundary_get;
+      Efl.Gfx.Path.bounds_get;
       Ector.Renderer.crc { get; }
       Ector.Renderer.GL.op_fill;
       Efl.Object.constructor;
diff --git a/src/lib/ector/gl/ector_renderer_gl_gradient_radial.c 
b/src/lib/ector/gl/ector_renderer_gl_gradient_radial.c
index 5b9339b27d..083aeb43c3 100644
--- a/src/lib/ector/gl/ector_renderer_gl_gradient_radial.c
+++ b/src/lib/ector/gl/ector_renderer_gl_gradient_radial.c
@@ -54,7 +54,7 @@ 
_ector_renderer_gl_gradient_radial_ector_renderer_gl_op_fill(Eo *obj, Ector_Rend
 }
 
 static void
-_ector_renderer_gl_gradient_radial_ector_renderer_boundary_get(Eo *obj 
EINA_UNUSED,
+_ector_renderer_gl_gradient_radial_efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED,
                                                              
Ector_Renderer_GL_Gradient_Radial_Data *pd,
                                                              Eina_Rect *r)
 {
diff --git a/src/lib/ector/gl/ector_renderer_gl_gradient_radial.eo 
b/src/lib/ector/gl/ector_renderer_gl_gradient_radial.eo
index 2c1445081b..954ecbc079 100644
--- a/src/lib/ector/gl/ector_renderer_gl_gradient_radial.eo
+++ b/src/lib/ector/gl/ector_renderer_gl_gradient_radial.eo
@@ -1,11 +1,11 @@
-class Ector.Renderer.GL.Gradient.Radial (Ector.Renderer.GL, 
Ector.Renderer.Gradient, Ector.Renderer.Gradient.Radial)
+class Ector.Renderer.GL.Gradient.Radial (Ector.Renderer.GL, 
Ector.Renderer.Gradient, Ector.Renderer.Gradient.Radial, Efl.Gfx.Path)
 {
    [[Ector GL renderer gradient radial]]
    eo_prefix: ector_renderer_gl_gradient_radial;
    implements {
       Ector.Renderer.prepare;
       Ector.Renderer.draw;
-      Ector.Renderer.boundary_get;
+      Efl.Gfx.Path.bounds_get;
       Ector.Renderer.crc { get; }
       Ector.Renderer.GL.op_fill;
       Efl.Object.constructor;
diff --git a/src/lib/ector/gl/ector_renderer_gl_shape.c 
b/src/lib/ector/gl/ector_renderer_gl_shape.c
index f472d9c28c..d89b15a97b 100644
--- a/src/lib/ector/gl/ector_renderer_gl_shape.c
+++ b/src/lib/ector/gl/ector_renderer_gl_shape.c
@@ -44,7 +44,7 @@ _ector_renderer_gl_shape_ector_renderer_prepare(Eo *obj, 
Ector_Renderer_GL_Shape
 
    r = ector_renderer_prepare(efl_super(obj, ECTOR_RENDERER_GL_SHAPE_CLASS));
 
-   ector_renderer_boundary_get(obj, &bounding_box);
+   efl_gfx_path_bounds_get(obj, &bounding_box);
 
    pd->vertex = malloc(sizeof (GLshort) * 6 * 3);
 
@@ -110,7 +110,7 @@ _ector_renderer_gl_shape_ector_renderer_gl_op_fill(Eo *obj 
EINA_UNUSED,
 }
 
 static void
-_ector_renderer_gl_shape_ector_renderer_boundary_get(Eo *obj, 
Ector_Renderer_GL_Shape_Data *pd, Eina_Rect *r)
+_ector_renderer_gl_shape_efl_gfx_path_bounds_get(Eo *obj, 
Ector_Renderer_GL_Shape_Data *pd, Eina_Rect *r)
 {
    efl_gfx_path_bounds_get(obj, r);
 
diff --git a/src/lib/ector/gl/ector_renderer_gl_shape.eo 
b/src/lib/ector/gl/ector_renderer_gl_shape.eo
index 83e2801806..21ef655d7c 100644
--- a/src/lib/ector/gl/ector_renderer_gl_shape.eo
+++ b/src/lib/ector/gl/ector_renderer_gl_shape.eo
@@ -1,13 +1,13 @@
-class Ector.Renderer.GL.Shape (Ector.Renderer.GL, Ector.Renderer.Shape)
+class Ector.Renderer.GL.Shape (Ector.Renderer.GL, Ector.Renderer.Shape, 
Efl.Gfx.Path)
 {
    [[Ector GL renderer shape class]]
    eo_prefix: ector_renderer_gl_shape;
    implements {
       Ector.Renderer.prepare;
       Ector.Renderer.draw;
-      Ector.Renderer.boundary_get;
       Ector.Renderer.crc { get; }
       Ector.Renderer.GL.op_fill;
+      Efl.Gfx.Path.bounds_get;
       Efl.Object.constructor;
       Efl.Object.destructor;
    }
diff --git a/src/lib/evas/canvas/efl_vg.eo b/src/lib/evas/canvas/efl_vg.eo
index 030cdac48a..651e83ef36 100644
--- a/src/lib/evas/canvas/efl_vg.eo
+++ b/src/lib/evas/canvas/efl_vg.eo
@@ -1,6 +1,6 @@
 import eina_types;
 
-abstract Efl.VG (Efl.Object, Efl.Gfx, Efl.Gfx.Color, Efl.Gfx.Stack, 
Efl.Duplicate)
+abstract Efl.VG (Efl.Object, Efl.Gfx, Efl.Gfx.Color, Efl.Gfx.Stack, 
Efl.Duplicate, Efl.Gfx.Path)
 {
    [[Efl vector graphics abstract class]]
    eo_prefix: efl_vg;
@@ -60,17 +60,6 @@ abstract Efl.VG (Efl.Object, Efl.Gfx, Efl.Gfx.Color, 
Efl.Gfx.Stack, Efl.Duplicat
             Evas_VG_Quality q;
          }
       } */
-      bounds_get @pure_virtual {
-         [[Give the bounding box in screen coordinates as being drawn.
-
-           It will start as the control box until it is refined, once the shape
-           is computed.
-
-           @since 1.14]]
-         params {
-            @out r: Eina.Rect; [[Bounding box to be returned.]]
-         }
-      }
       interpolate {
         [[Interpolate a given vector graphics object]]
 
diff --git a/src/lib/evas/canvas/efl_vg_container.eo 
b/src/lib/evas/canvas/efl_vg_container.eo
index 264d94e9ef..59347c00bf 100644
--- a/src/lib/evas/canvas/efl_vg_container.eo
+++ b/src/lib/evas/canvas/efl_vg_container.eo
@@ -18,7 +18,7 @@ class Efl.VG.Container (Efl.VG)
    implements {
       Efl.Object.constructor;
       Efl.Object.destructor;
-      Efl.VG.bounds_get;
+      Efl.Gfx.Path.bounds_get;
       Efl.VG.interpolate;
       Efl.Duplicate.duplicate;
    }
diff --git a/src/lib/evas/canvas/efl_vg_gradient_linear.eo 
b/src/lib/evas/canvas/efl_vg_gradient_linear.eo
index 3048e17970..938e9286f7 100644
--- a/src/lib/evas/canvas/efl_vg_gradient_linear.eo
+++ b/src/lib/evas/canvas/efl_vg_gradient_linear.eo
@@ -5,9 +5,9 @@ class Efl.VG.Gradient.Linear (Efl.VG.Gradient, 
Efl.Gfx.Gradient.Linear)
    implements {
       Efl.Gfx.Gradient.Linear.start { get; set; }
       Efl.Gfx.Gradient.Linear.end { get; set; }
-      Efl.VG.bounds_get;
       Efl.VG.interpolate;
       Efl.Duplicate.duplicate;
+      Efl.Gfx.Path.bounds_get;
       Efl.Object.constructor;
       Efl.Object.destructor;
    }
diff --git a/src/lib/evas/canvas/efl_vg_gradient_radial.eo 
b/src/lib/evas/canvas/efl_vg_gradient_radial.eo
index efc75bebe4..cf35a6ace6 100644
--- a/src/lib/evas/canvas/efl_vg_gradient_radial.eo
+++ b/src/lib/evas/canvas/efl_vg_gradient_radial.eo
@@ -6,7 +6,7 @@ class Efl.VG.Gradient.Radial (Efl.VG.Gradient, 
Efl.Gfx.Gradient.Radial)
       Efl.Gfx.Gradient.Radial.center { get; set; }
       Efl.Gfx.Gradient.Radial.radius { get; set; }
       Efl.Gfx.Gradient.Radial.focal { get; set; }
-      Efl.VG.bounds_get;
+      Efl.Gfx.Path.bounds_get;
       Efl.VG.interpolate;
       Efl.Duplicate.duplicate;
       Efl.Object.constructor;
diff --git a/src/lib/evas/canvas/efl_vg_shape.eo 
b/src/lib/evas/canvas/efl_vg_shape.eo
index 716d1877d5..be68f0fd89 100644
--- a/src/lib/evas/canvas/efl_vg_shape.eo
+++ b/src/lib/evas/canvas/efl_vg_shape.eo
@@ -35,7 +35,6 @@ class Efl.VG.Shape (Efl.VG, Efl.Gfx.Shape)
       }
    }
    implements {
-      Efl.VG.bounds_get;
       Efl.VG.interpolate;
       Efl.Duplicate.duplicate;
       Efl.Object.constructor;
diff --git a/src/lib/evas/canvas/evas_vg_container.c 
b/src/lib/evas/canvas/evas_vg_container.c
index 5ddad99390..05e67e369c 100644
--- a/src/lib/evas/canvas/evas_vg_container.c
+++ b/src/lib/evas/canvas/evas_vg_container.c
@@ -65,7 +65,7 @@ _efl_vg_container_efl_object_destructor(Eo *obj,
 }
 
 static void
-_efl_vg_container_efl_vg_bounds_get(Eo *obj EINA_UNUSED,
+_efl_vg_container_efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED,
                                     Efl_VG_Container_Data *pd,
                                     Eina_Rect *r)
 {
@@ -80,12 +80,12 @@ _efl_vg_container_efl_vg_bounds_get(Eo *obj EINA_UNUSED,
      {
         if (first)
           {
-             efl_vg_bounds_get(child, r);
+             efl_gfx_path_bounds_get(child, r);
              first = EINA_FALSE;
           }
         else
           {
-             efl_vg_bounds_get(child, &s);
+             efl_gfx_path_bounds_get(child, &s);
              eina_rectangle_union(&r->rect, &s.rect);
           }
      }
diff --git a/src/lib/evas/canvas/evas_vg_gradient_linear.c 
b/src/lib/evas/canvas/evas_vg_gradient_linear.c
index 8747950b5f..e0cac2203d 100644
--- a/src/lib/evas/canvas/evas_vg_gradient_linear.c
+++ b/src/lib/evas/canvas/evas_vg_gradient_linear.c
@@ -112,7 +112,7 @@ _efl_vg_gradient_linear_efl_object_destructor(Eo *obj, 
Efl_VG_Gradient_Linear_Da
 }
 
 static void
-_efl_vg_gradient_linear_efl_vg_bounds_get(Eo *obj, Efl_VG_Gradient_Linear_Data 
*pd, Eina_Rect *r)
+_efl_vg_gradient_linear_efl_gfx_path_bounds_get(Eo *obj, 
Efl_VG_Gradient_Linear_Data *pd, Eina_Rect *r)
 {
    Efl_VG_Data *nd;
 
diff --git a/src/lib/evas/canvas/evas_vg_gradient_radial.c 
b/src/lib/evas/canvas/evas_vg_gradient_radial.c
index 1489e8100c..dac3c8b266 100644
--- a/src/lib/evas/canvas/evas_vg_gradient_radial.c
+++ b/src/lib/evas/canvas/evas_vg_gradient_radial.c
@@ -129,7 +129,7 @@ _efl_vg_gradient_radial_efl_object_destructor(Eo *obj,
 }
 
 static void
-_efl_vg_gradient_radial_efl_vg_bounds_get(Eo *obj, Efl_VG_Gradient_Radial_Data 
*pd, Eina_Rect *r)
+_efl_vg_gradient_radial_efl_gfx_path_bounds_get(Eo *obj, 
Efl_VG_Gradient_Radial_Data *pd, Eina_Rect *r)
 {
    Efl_VG_Data *nd;
 
diff --git a/src/lib/evas/canvas/evas_vg_node.c 
b/src/lib/evas/canvas/evas_vg_node.c
index 8cd5add2b3..c343b3e122 100644
--- a/src/lib/evas/canvas/evas_vg_node.c
+++ b/src/lib/evas/canvas/evas_vg_node.c
@@ -189,7 +189,7 @@ _efl_vg_efl_gfx_size_get(Eo *obj, Efl_VG_Data *pd 
EINA_UNUSED)
 {
    Eina_Rect r;
 
-   efl_vg_bounds_get(obj, &r);
+   efl_gfx_path_bounds_get(obj, &r);
    return r.size;
 }
 
@@ -508,7 +508,7 @@ _efl_vg_walk_down_at(Eo *root, Eina_Array *a, 
Eina_Rectangle *r)
 {
    Eina_Rect bounds;
 
-   efl_vg_bounds_get(root, &bounds);
+   efl_gfx_path_bounds_get(root, &bounds);
    if (!eina_rectangles_intersect(&bounds.rect, r)) return ;
 
    eina_array_push(a, root);
@@ -546,7 +546,7 @@ _efl_vg_efl_gfx_stack_below_get(Eo *obj, Efl_VG_Data *pd 
EINA_UNUSED)
    Eina_Array_Iterator iterator;
    unsigned int i;
 
-   efl_vg_bounds_get(obj, &r);
+   efl_gfx_path_bounds_get(obj, &r);
 
    eina_array_step_set(&a, sizeof (Eina_Array), 8);
 
@@ -576,7 +576,7 @@ _efl_vg_efl_gfx_stack_above_get(Eo *obj, Efl_VG_Data *pd 
EINA_UNUSED)
    Eina_Array_Iterator iterator;
    unsigned int i;
 
-   efl_vg_bounds_get(obj, &r);
+   efl_gfx_path_bounds_get(obj, &r);
 
    eina_array_step_set(&a, sizeof (Eina_Array), 8);
 
diff --git a/src/lib/evas/canvas/evas_vg_shape.c 
b/src/lib/evas/canvas/evas_vg_shape.c
index 4d603235a5..840a7017fb 100644
--- a/src/lib/evas/canvas/evas_vg_shape.c
+++ b/src/lib/evas/canvas/evas_vg_shape.c
@@ -16,14 +16,7 @@ struct _Efl_VG_Shape_Data
    } stroke;
 };
 
-static void
-_efl_vg_shape_efl_vg_bounds_get(Eo *obj,
-                                Efl_VG_Shape_Data *pd EINA_UNUSED,
-                                Eina_Rect *r)
-{
-   // FIXME: Use the renderer bounding box when it has been created instead of 
an estimation
-   efl_gfx_path_bounds_get(obj, r);
-}
+// FIXME: Use the renderer bounding box when it has been created instead of an 
estimation
 
 static void
 _efl_vg_shape_fill_set(Eo *obj EINA_UNUSED,
diff --git a/src/static_libs/vg_common/vg_common.c 
b/src/static_libs/vg_common/vg_common.c
index fbc4c45095..e1601ec633 100644
--- a/src/static_libs/vg_common/vg_common.c
+++ b/src/static_libs/vg_common/vg_common.c
@@ -561,7 +561,7 @@ _apply_gradient_property(Svg_Style_Gradient *g, Efl_VG *vg, 
Vg_File_Data *vg_dat
    //TODO: apply actual sizes (imporve bounds_get function?)...
    //for example with figures and paths
    if (!g->user_space)
-     evas_vg_node_bounds_get(vg, &r);
+     efl_gfx_path_bounds_get(vg, &r);
    else
      {
         r.w = vg_data->view_box.w;
@@ -610,7 +610,7 @@ _apply_gradient_property(Svg_Style_Gradient *g, Efl_VG *vg, 
Vg_File_Data *vg_dat
                   scale_reversed_X = ((double) r.w) / r.h;
                }
 
-             evas_vg_node_bounds_get(grad_obj, &grad_geom);
+             efl_gfx_path_bounds_get(grad_obj, &grad_geom);
 
              double cy = grad_geom.h / 2 + grad_geom.y;
              double cy_scaled = (grad_geom.h / 2) * scale_reversed_Y;

-- 


Reply via email to