This solves the problem of radial gradient being displayed
abnormally when the radial gradient variables are 0 to 1.
Details
Details
Sample SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<defs id="defs11"> <linearGradient id="linearGradient1" x1="0" y1="0" x2="0.2" y2="0.2" spreadMethod="reflect"> <stop style="stop-color:#ff0000;stop-opacity:1;" offset="0"/> <stop style="stop-color:#0000ff;stop-opacity:1;" offset="1"/> </linearGradient> <radialGradient id="radialGradient222" r="0.2" cx="0.3" cy="0.3" spreadMethod="reflect"> <stop style="stop-color:#ffFF00;stop-opacity:1;" offset="0"/> <stop style="stop-color:#00FFff;stop-opacity:1;" offset="1"/> </radialGradient> </defs> <rect x="0" y="0" width="100" height="100" fill="url(#linearGradient1)"/> <rect x="50" y="50" width="50" height="50" fill="url(#radialGradient222)"/>
</svg>
Diff Detail
Diff Detail
- Repository
- rEFL core/efl
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 12223 Build 8926: arc lint + arc unit
Comment Actions
Please check a comment.
src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c | ||
---|---|---|
1886 | This might need an optional, normalized input values will be broken after this. Please check src/examples/edje/svg.edc (radialGrad1.svg), it won't work after this patch. |