summaryrefslogtreecommitdiff
path: root/unsorted/evas/evas-vg-simple.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-09-15 07:34:35 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-09-21 22:50:34 +0200
commit7fc89ccfe154fc81c0bf9fee8f188ef5831ee667 (patch)
treed8f20a24ee37b53c3d6edddded6ecd935ac51e63 /unsorted/evas/evas-vg-simple.c
parentd5b2e7e3876c492b5d305687642b1f38408e0095 (diff)
evas: node that are used for a fill should not have a parent or they are going to be drawn.
@fix example for Efl VG.
Diffstat (limited to 'unsorted/evas/evas-vg-simple.c')
-rw-r--r--unsorted/evas/evas-vg-simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsorted/evas/evas-vg-simple.c b/unsorted/evas/evas-vg-simple.c
index 7332ce7..5e0b0e4 100644
--- a/unsorted/evas/evas-vg-simple.c
+++ b/unsorted/evas/evas-vg-simple.c
@@ -458,9 +458,9 @@ vector_set(int x, int y, int w, int h)
458 458
459 Efl_VG *shape = eo_add(EFL_VG_SHAPE_CLASS, root, 459 Efl_VG *shape = eo_add(EFL_VG_SHAPE_CLASS, root,
460 efl_vg_name_set("shape")); 460 efl_vg_name_set("shape"));
461 Efl_VG *rgradient = eo_add(EFL_VG_GRADIENT_RADIAL_CLASS, root, 461 Efl_VG *rgradient = eo_add(EFL_VG_GRADIENT_RADIAL_CLASS, NULL,
462 efl_vg_name_set("rgradient")); 462 efl_vg_name_set("rgradient"));
463 Efl_VG *lgradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, root, 463 Efl_VG *lgradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, NULL,
464 efl_vg_name_set("lgradient")); 464 efl_vg_name_set("lgradient"));
465 465
466 _arcto(shape, 0, 0, 100, 100, 25, 330); 466 _arcto(shape, 0, 0, 100, 100, 25, 330);