fix build break.
replace efl_gfx_shape to efl_gfx_path. Still expedite is screwed up at behaviors... :(
This commit is contained in:
parent
4ab2935364
commit
e2a2ef4f86
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue