efl/src/modules
junsu choi 9dae699424 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-02-07 18:59:18 +00:00
..
ecore ecore: use standard LC_ALL instead of __LC_ALL in systemd module 2020-06-11 02:32:07 +02:00
ecore_buffer meson: support unified suffixes for modules 2020-04-07 10:58:17 +02:00
ecore_evas ecore evas - wl - detect timestamsp too far in the past and complain 2021-12-10 10:54:32 +00:00
ecore_imf build: addition to abf0e9dffe 2020-09-25 14:07:47 +02:00
ecore_wl2 meson: support unified suffixes for modules 2020-04-07 10:58:17 +02:00
eeze meson: support unified suffixes for modules 2020-04-07 10:58:17 +02:00
eina Get rid of trailing whitespaces (13 / 14) 2020-06-23 10:31:36 +02:00
elementary modules: Rename EAPI macro to MODAPI for modules 2021-04-17 16:07:56 -03:00
emotion emotion - properly track subtitle mute state and init emotion obj early 2021-09-26 21:23:24 +01:00
ethumb emotion - check return of eet data write 2020-09-19 23:34:39 +01:00
evas evas_vg_load_svg: Fix colorstop offset parser 2022-02-07 18:59:18 +00:00