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