efl/src
junsu choi ef784708b9 evas_vg_load_svg: Fix colorstop offset parser
Summary:
Values different from numbers and percentages should be ignored
and the default values should be applied (zeros).
And set the min and max of the offset value to be 0, 1.
Also, this patch make that the offset is not input in the reverse order.

Test Plan:
Test SVG Image
```
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" >
    <linearGradient id="grad" x1="0" y1="0" x2="1" y2="1">
        <stop offset="10%" stop-color="white"/>
        <stop offset="0.2" stop-color="red"/>
        <stop offset="30% k" stop-color="blue"/>
        <stop offset="40%" stop-color="yellow"/>
        <stop offset="0.5m" stop-color="red"/>
        <stop offset="0.6 " stop-color="green"/>
        <stop offset="70%m" stop-color="black"/>
        <stop offset="80%" stop-color="white"/>
    </linearGradient>
    <rect x="20" y="20" width="160" height="160" fill="url(#grad)"/>
</svg>

```

Result
{F4792365}

Reviewers: Hermet, raster, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12318
2022-01-12 11:34:29 +09:00
..
benchmarks benchmark: Remove unnecessary import and export macros from benchmark executables 2020-12-06 12:25:19 -03:00
bin efreetd - use putenv for better porting to weird os's 2022-01-09 21:14:23 +00:00
bindings efl_mono: Use architecture independent ECANCELED 2020-11-25 10:44:41 -03:00
edje_external emotion: remove all left overs from removed backends 2020-06-05 12:47:43 +02:00
examples ecore evas ews - deprecate/remove 2021-03-28 13:56:33 +01:00
generic evas - loader - rsvg - work around rsvg now returning 0 sized dims 2021-10-05 01:00:33 +01:00
lib Efl.Gfx.Path: Remove unnecessary optimization code for small arc 2022-01-12 11:32:42 +09:00
modules evas_vg_load_svg: Fix colorstop offset parser 2022-01-12 11:34:29 +09:00
scripts build: disable elua by default, plus nicer detection 2020-06-06 19:28:26 +02:00
static_libs evas_vg_load_svg: Fix colorstop offset parser 2022-01-12 11:34:29 +09:00
tests elm - test - disable 2 negative tests that are failing to fail 2022-01-04 14:13:32 +00:00
wayland_protocol wayland - update code generate private code and have no warnings 2021-05-07 00:02:05 +01:00