efl: follow Efl.VG naming by using bounds_get as an API name.

This commit is contained in:
Cedric BAIL 2015-04-03 16:38:08 +02:00
parent 990c088f6b
commit 41a75f0b07
4 changed files with 6 additions and 6 deletions

View 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;

View 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;

View 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

View 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