Page MenuHomePhabricator

evas_vg_load_svg: Support multiple gradient without <defs> part
ClosedPublic

Authored by jsuya on Jul 15 2019, 12:27 AM.

Details

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

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jsuya created this revision.Jul 15 2019, 12:27 AM
jsuya requested review of this revision.Jul 15 2019, 12:27 AM
Hermet requested changes to this revision.Jul 15 2019, 3:32 AM

Could you please attach an actual issue example in the code?

This revision now requires changes to proceed.Jul 15 2019, 3:32 AM
jsuya updated this revision to Diff 23365.Jul 15 2019, 4:14 AM

add test sample in src/example/edje

jsuya updated this revision to Diff 23366.Jul 15 2019, 4:21 AM
jsuya edited the test plan for this revision. (Show Details)

update commit message

Hermet accepted this revision.Jul 15 2019, 5:24 AM
This revision is now accepted and ready to land.Jul 15 2019, 5:24 AM
This revision was automatically updated to reflect the committed changes.