forked from enlightenment/efl
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.
This commit is contained in:
parent
291c3e32af
commit
e7b2cf56cf
|
@ -458,9 +458,9 @@ vector_set(int x, int y, int w, int h)
|
|||
|
||||
Efl_VG *shape = eo_add(EFL_VG_SHAPE_CLASS, root,
|
||||
efl_vg_name_set("shape"));
|
||||
Efl_VG *rgradient = eo_add(EFL_VG_GRADIENT_RADIAL_CLASS, root,
|
||||
Efl_VG *rgradient = eo_add(EFL_VG_GRADIENT_RADIAL_CLASS, NULL,
|
||||
efl_vg_name_set("rgradient"));
|
||||
Efl_VG *lgradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, root,
|
||||
Efl_VG *lgradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, NULL,
|
||||
efl_vg_name_set("lgradient"));
|
||||
|
||||
_arcto(shape, 0, 0, 100, 100, 25, 330);
|
||||
|
|
Loading…
Reference in New Issue