hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/expedite.git/commit/?id=e2a2ef4f860102d7aa615669e18b5f22bb127144

commit e2a2ef4f860102d7aa615669e18b5f22bb127144
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Fri Dec 2 11:15:35 2016 +0900

    fix build break.
    
    replace efl_gfx_shape to efl_gfx_path.
    
    Still expedite is screwed up at behaviors... :(
---
 src/bin/vg_basic_circle.c   | 2 +-
 src/bin/vg_basic_gradient.c | 2 +-
 src/bin/vg_basic_rect.c     | 2 +-
 src/bin/vg_scaled.c         | 6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/bin/vg_basic_circle.c b/src/bin/vg_basic_circle.c
index 993b811..b4bc4f1 100644
--- a/src/bin/vg_basic_circle.c
+++ b/src/bin/vg_basic_circle.c
@@ -39,7 +39,7 @@ static void _setup(void)
         root = evas_object_vg_root_node_get(vector);
 
         circle = efl_add(EFL_VG_SHAPE_CLASS, root);
-        efl_gfx_shape_append_circle(circle, r + stroke_w, r + stroke_w, r);
+        efl_gfx_path_append_circle(circle, r + stroke_w, r + stroke_w, r);
         efl_gfx_shape_stroke_width_set(circle, stroke_w);
         efl_gfx_shape_stroke_color_set(circle, 128, 0, 128, 128);
         efl_gfx_shape_stroke_join_set(circle, EFL_GFX_JOIN_ROUND);
diff --git a/src/bin/vg_basic_gradient.c b/src/bin/vg_basic_gradient.c
index da25236..bae4ec7 100644
--- a/src/bin/vg_basic_gradient.c
+++ b/src/bin/vg_basic_gradient.c
@@ -51,7 +51,7 @@ static void _setup(void)
         efl_gfx_gradient_linear_end_set(gradient, 50, 50);
 
         rect = efl_add(EFL_VG_SHAPE_CLASS, root);
-        efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 
10);
+        efl_gfx_path_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 
10);
         efl_vg_shape_fill_set(rect, gradient);
         efl_gfx_shape_stroke_width_set(rect, stroke_w);
         efl_gfx_shape_stroke_color_set(rect, 128, 0, 128, 128);
diff --git a/src/bin/vg_basic_rect.c b/src/bin/vg_basic_rect.c
index 58318b7..56ba9a0 100644
--- a/src/bin/vg_basic_rect.c
+++ b/src/bin/vg_basic_rect.c
@@ -39,7 +39,7 @@ static void _setup(void)
         root = evas_object_vg_root_node_get(vector);
 
         rect = efl_add(EFL_VG_SHAPE_CLASS, root);
-        efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 
10);
+        efl_gfx_path_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 
10);
         efl_gfx_shape_stroke_width_set(rect, stroke_w);
         efl_gfx_shape_stroke_color_set(rect, 128, 0, 128, 128);
         efl_gfx_shape_stroke_join_set(rect, EFL_GFX_JOIN_ROUND);
diff --git a/src/bin/vg_scaled.c b/src/bin/vg_scaled.c
index 6fd521b..bd1447c 100644
--- a/src/bin/vg_scaled.c
+++ b/src/bin/vg_scaled.c
@@ -51,7 +51,7 @@ static void _setup(void)
         efl_gfx_gradient_linear_end_set(gradient, 50, 50);
 
         o_shapes[i] = rect = efl_add(EFL_VG_SHAPE_CLASS, root);
-        efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 
10);
+        efl_gfx_path_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 
10);
         efl_vg_shape_fill_set(rect, gradient);
         efl_gfx_shape_stroke_width_set(rect, stroke_w);
         efl_gfx_shape_stroke_color_set(rect, 128, 0, 128, 128);
@@ -89,8 +89,8 @@ static void _loop(double t, int f)
         efl_gfx_position_set(o_objects[i], x, y);
         efl_gfx_size_set(o_objects[i], w + stroke_w * 2, h + stroke_w * 2);
         efl_gfx_fill_set(o_objects[i], 0, 0, w, h);
-        efl_gfx_shape_reset(o_shapes[i]);
-        efl_gfx_shape_append_rect(o_shapes[i], 0 + stroke_w, 0 + stroke_w, w, 
h, 10, 10);
+        efl_gfx_path_reset(o_shapes[i]);
+        efl_gfx_path_append_rect(o_shapes[i], 0 + stroke_w, 0 + stroke_w, w, 
h, 10, 10);
         efl_vg_shape_fill_set(o_shapes[i], o_gradient[i]);
         efl_gfx_shape_stroke_width_set(o_shapes[i], stroke_w);
         efl_gfx_shape_stroke_color_set(o_shapes[i], 128, 0, 128, 128);

-- 


Reply via email to