summaryrefslogtreecommitdiff
path: root/src/static_libs
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-12 16:58:57 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-12 16:59:48 -0500
commit09f2fab14440ceb6e71b7af681edc44fffc82733 (patch)
tree52c719b4fd709af3a9af73aa945db6f3763238d2 /src/static_libs
parent27ae060633fdc5d950410492fec14806e2d4b9f3 (diff)
interfaces: merge all bounds_get methods into efl.gfx.path
ref 884fc35160152712decdf7fd43082ef3912c0856
Diffstat (limited to 'src/static_libs')
-rw-r--r--src/static_libs/vg_common/vg_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static_libs/vg_common/vg_common.c b/src/static_libs/vg_common/vg_common.c
index fbc4c45..e1601ec 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
561 //TODO: apply actual sizes (imporve bounds_get function?)... 561 //TODO: apply actual sizes (imporve bounds_get function?)...
562 //for example with figures and paths 562 //for example with figures and paths
563 if (!g->user_space) 563 if (!g->user_space)
564 evas_vg_node_bounds_get(vg, &r); 564 efl_gfx_path_bounds_get(vg, &r);
565 else 565 else
566 { 566 {
567 r.w = vg_data->view_box.w; 567 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
610 scale_reversed_X = ((double) r.w) / r.h; 610 scale_reversed_X = ((double) r.w) / r.h;
611 } 611 }
612 612
613 evas_vg_node_bounds_get(grad_obj, &grad_geom); 613 efl_gfx_path_bounds_get(grad_obj, &grad_geom);
614 614
615 double cy = grad_geom.h / 2 + grad_geom.y; 615 double cy = grad_geom.h / 2 + grad_geom.y;
616 double cy_scaled = (grad_geom.h / 2) * scale_reversed_Y; 616 double cy_scaled = (grad_geom.h / 2) * scale_reversed_Y;