summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-24 22:34:07 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 13:21:25 +0100
commit1b12294efbdcb219e33a12b00bb24548f2581bce (patch)
tree4185f168c472594306c4368d51eba2da51cd9d76 /src/examples
parent5f709aa0d36a4ba2784edc251f05bb55113cf1a1 (diff)
tests - evas vg - use proper enuams for evas vg api - warn fix
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-vg-simple.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/examples/evas/evas-vg-simple.c b/src/examples/evas/evas-vg-simple.c
index ff1af74a1e..6feac3d321 100644
--- a/src/examples/evas/evas-vg-simple.c
+++ b/src/examples/evas/evas-vg-simple.c
@@ -310,7 +310,7 @@ _1_basic_shape_test()
310 evas_vg_shape_stroke_color_set(shape, 255, 0, 0, 255); 310 evas_vg_shape_stroke_color_set(shape, 255, 0, 0, 255);
311 evas_vg_shape_stroke_width_set(shape, 5); 311 evas_vg_shape_stroke_width_set(shape, 5);
312 evas_vg_node_origin_set(shape, 50, 50); 312 evas_vg_node_origin_set(shape, 50, 50);
313 evas_vg_shape_stroke_cap_set(shape, EFL_GFX_CAP_ROUND); 313 evas_vg_shape_stroke_cap_set(shape, EVAS_VG_CAP_ROUND);
314 d.shape_list = eina_list_append(d.shape_list, shape); 314 d.shape_list = eina_list_append(d.shape_list, shape);
315 315
316 new_shape = evas_vg_shape_add(container); 316 new_shape = evas_vg_shape_add(container);
@@ -318,7 +318,7 @@ _1_basic_shape_test()
318 evas_vg_shape_stroke_color_set(new_shape, 0, 100, 0, 100); 318 evas_vg_shape_stroke_color_set(new_shape, 0, 100, 0, 100);
319 evas_vg_shape_append_line_to(new_shape, 100, 50); 319 evas_vg_shape_append_line_to(new_shape, 100, 50);
320 evas_vg_node_origin_set(new_shape, 200, 50); 320 evas_vg_node_origin_set(new_shape, 200, 50);
321 evas_vg_shape_stroke_cap_set(new_shape, EFL_GFX_CAP_SQUARE); 321 evas_vg_shape_stroke_cap_set(new_shape, EVAS_VG_CAP_SQUARE);
322 d.shape_list = eina_list_append(d.shape_list, new_shape); 322 d.shape_list = eina_list_append(d.shape_list, new_shape);
323 323
324 new_shape = evas_vg_shape_add(container); 324 new_shape = evas_vg_shape_add(container);
@@ -326,8 +326,8 @@ _1_basic_shape_test()
326 evas_vg_shape_stroke_color_set(new_shape, 0, 0, 255, 255); 326 evas_vg_shape_stroke_color_set(new_shape, 0, 0, 255, 255);
327 evas_vg_shape_append_line_to(new_shape, 50, 50); 327 evas_vg_shape_append_line_to(new_shape, 50, 50);
328 evas_vg_node_origin_set(new_shape, 350, 50); 328 evas_vg_node_origin_set(new_shape, 350, 50);
329 evas_vg_shape_stroke_cap_set(new_shape, EFL_GFX_CAP_ROUND); 329 evas_vg_shape_stroke_cap_set(new_shape, EVAS_VG_CAP_ROUND);
330 evas_vg_shape_stroke_join_set(new_shape, EFL_GFX_JOIN_ROUND); 330 evas_vg_shape_stroke_join_set(new_shape, EVAS_VG_JOIN_ROUND);
331 d.shape_list = eina_list_append(d.shape_list, new_shape); 331 d.shape_list = eina_list_append(d.shape_list, new_shape);
332 332
333 // Rect 333 // Rect
@@ -378,7 +378,7 @@ _1_basic_shape_test()
378 shape = evas_vg_shape_add(container); 378 shape = evas_vg_shape_add(container);
379 evas_vg_shape_append_arc(shape, 0, 0, 100, 100, 45, -200); 379 evas_vg_shape_append_arc(shape, 0, 0, 100, 100, 45, -200);
380 evas_vg_shape_append_line_to(shape, 50, 50); 380 evas_vg_shape_append_line_to(shape, 50, 50);
381 evas_vg_shape_stroke_cap_set(shape, EFL_GFX_CAP_ROUND); 381 evas_vg_shape_stroke_cap_set(shape, EVAS_VG_CAP_ROUND);
382 evas_vg_shape_stroke_color_set(shape, 255, 0, 0, 255); 382 evas_vg_shape_stroke_color_set(shape, 255, 0, 0, 255);
383 evas_vg_shape_stroke_width_set(shape, 5); 383 evas_vg_shape_stroke_width_set(shape, 5);
384 evas_vg_node_origin_set(shape, 50, 450); 384 evas_vg_node_origin_set(shape, 50, 450);