summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermet@hermet.pe.kr>2016-12-02 11:15:35 +0900
committerHermet Park <hermet@hermet.pe.kr>2016-12-02 11:15:35 +0900
commite2a2ef4f860102d7aa615669e18b5f22bb127144 (patch)
treeb528543c1a30c84ca7b286c6106fd08ad46a04f8
parent4ab293536480220f96201d21f93ba050388e78cb (diff)
fix build break.
replace efl_gfx_shape to efl_gfx_path. Still expedite is screwed up at behaviors... :(
-rw-r--r--src/bin/vg_basic_circle.c2
-rw-r--r--src/bin/vg_basic_gradient.c2
-rw-r--r--src/bin/vg_basic_rect.c2
-rw-r--r--src/bin/vg_scaled.c6
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)
39 root = evas_object_vg_root_node_get(vector); 39 root = evas_object_vg_root_node_get(vector);
40 40
41 circle = efl_add(EFL_VG_SHAPE_CLASS, root); 41 circle = efl_add(EFL_VG_SHAPE_CLASS, root);
42 efl_gfx_shape_append_circle(circle, r + stroke_w, r + stroke_w, r); 42 efl_gfx_path_append_circle(circle, r + stroke_w, r + stroke_w, r);
43 efl_gfx_shape_stroke_width_set(circle, stroke_w); 43 efl_gfx_shape_stroke_width_set(circle, stroke_w);
44 efl_gfx_shape_stroke_color_set(circle, 128, 0, 128, 128); 44 efl_gfx_shape_stroke_color_set(circle, 128, 0, 128, 128);
45 efl_gfx_shape_stroke_join_set(circle, EFL_GFX_JOIN_ROUND); 45 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)
51 efl_gfx_gradient_linear_end_set(gradient, 50, 50); 51 efl_gfx_gradient_linear_end_set(gradient, 50, 50);
52 52
53 rect = efl_add(EFL_VG_SHAPE_CLASS, root); 53 rect = efl_add(EFL_VG_SHAPE_CLASS, root);
54 efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10); 54 efl_gfx_path_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10);
55 efl_vg_shape_fill_set(rect, gradient); 55 efl_vg_shape_fill_set(rect, gradient);
56 efl_gfx_shape_stroke_width_set(rect, stroke_w); 56 efl_gfx_shape_stroke_width_set(rect, stroke_w);
57 efl_gfx_shape_stroke_color_set(rect, 128, 0, 128, 128); 57 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)
39 root = evas_object_vg_root_node_get(vector); 39 root = evas_object_vg_root_node_get(vector);
40 40
41 rect = efl_add(EFL_VG_SHAPE_CLASS, root); 41 rect = efl_add(EFL_VG_SHAPE_CLASS, root);
42 efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10); 42 efl_gfx_path_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10);
43 efl_gfx_shape_stroke_width_set(rect, stroke_w); 43 efl_gfx_shape_stroke_width_set(rect, stroke_w);
44 efl_gfx_shape_stroke_color_set(rect, 128, 0, 128, 128); 44 efl_gfx_shape_stroke_color_set(rect, 128, 0, 128, 128);
45 efl_gfx_shape_stroke_join_set(rect, EFL_GFX_JOIN_ROUND); 45 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)
51 efl_gfx_gradient_linear_end_set(gradient, 50, 50); 51 efl_gfx_gradient_linear_end_set(gradient, 50, 50);
52 52
53 o_shapes[i] = rect = efl_add(EFL_VG_SHAPE_CLASS, root); 53 o_shapes[i] = rect = efl_add(EFL_VG_SHAPE_CLASS, root);
54 efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10); 54 efl_gfx_path_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10);
55 efl_vg_shape_fill_set(rect, gradient); 55 efl_vg_shape_fill_set(rect, gradient);
56 efl_gfx_shape_stroke_width_set(rect, stroke_w); 56 efl_gfx_shape_stroke_width_set(rect, stroke_w);
57 efl_gfx_shape_stroke_color_set(rect, 128, 0, 128, 128); 57 efl_gfx_shape_stroke_color_set(rect, 128, 0, 128, 128);
@@ -89,8 +89,8 @@ static void _loop(double t, int f)
89 efl_gfx_position_set(o_objects[i], x, y); 89 efl_gfx_position_set(o_objects[i], x, y);
90 efl_gfx_size_set(o_objects[i], w + stroke_w * 2, h + stroke_w * 2); 90 efl_gfx_size_set(o_objects[i], w + stroke_w * 2, h + stroke_w * 2);
91 efl_gfx_fill_set(o_objects[i], 0, 0, w, h); 91 efl_gfx_fill_set(o_objects[i], 0, 0, w, h);
92 efl_gfx_shape_reset(o_shapes[i]); 92 efl_gfx_path_reset(o_shapes[i]);
93 efl_gfx_shape_append_rect(o_shapes[i], 0 + stroke_w, 0 + stroke_w, w, h, 10, 10); 93 efl_gfx_path_append_rect(o_shapes[i], 0 + stroke_w, 0 + stroke_w, w, h, 10, 10);
94 efl_vg_shape_fill_set(o_shapes[i], o_gradient[i]); 94 efl_vg_shape_fill_set(o_shapes[i], o_gradient[i]);
95 efl_gfx_shape_stroke_width_set(o_shapes[i], stroke_w); 95 efl_gfx_shape_stroke_width_set(o_shapes[i], stroke_w);
96 efl_gfx_shape_stroke_color_set(o_shapes[i], 128, 0, 128, 128); 96 efl_gfx_shape_stroke_color_set(o_shapes[i], 128, 0, 128, 128);