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;
}
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;
@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
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