evas_vg_load_svg: Support multiple gradient without <defs> part 65/210265/2
authorJunsuChoi <jsuya.choi@samsung.com>
Mon, 15 Jul 2019 12:23:38 +0000 (21:23 +0900)
committerjunsu choi <jsuya.choi@samsung.com>
Thu, 18 Jul 2019 11:22:01 +0000 (11:22 +0000)
commitf82ca642df1c773d049c79f58a2fca41cf90251e
tree1eead634120d5d74d33fd423698eea9f5875a37e
parent17fb70a16fc43a8d839f11a301d66bdd8da6961f
evas_vg_load_svg: Support multiple gradient without <defs> part

Summary:
Multiple gradients can be declared.
There is a problem of keeping only one gradient information
when it is declared outside defs or when defs is not declared.
It supports the use of multiple gradients even if no defs are declared.

Test Plan:
(with D9312 patch)
cd src/example/edje
edje_cc -beta svg.edc && gcc -o svg-test svg-test.c `pkg-config --libs --cflags evas ecore ecore-evas edje`
./svg-test

Reviewers: Hermet, kimcinoo, smohanty

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9315

Change-Id: I22fda2ab7ae0eb01d6923ebaf134aee54114de1a