efl/src
junsu choi baf1fcdb91 vg_common_svg: Gradient stop color use premultiplied color.
Summary:
The parsed color is straight color.
evas use premultiplied color.

Test Plan:
Sample SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
  <defs>
    <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:0.1;" offset="0"/>
      <stop style="stop-color:#00FFff;stop-opacity:1;"   offset="1"/>
    </radialGradient>
    <radialGradient id="radialGradient333" r="0.2" cx="0.3" cy="0.3" spreadMethod="reflect">
      <stop style="stop-color:#00FF00;stop-opacity:0.1;" offset="0"/>
      <stop style="stop-color:#FF00ff;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)"/>
  <rect x="0" y="0" width="50" height="50" fill="url(#radialGradient333)"/>
</svg>

Reviewers: Hermet, kimcinoo, smohanty

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9338
2019-07-17 17:15:23 +09:00
..
benchmarks autotools: REMOVAL! 2019-06-18 08:56:34 +02:00
bin efl_ui_slider: change the semantical meaning of step property 2019-07-16 16:37:29 +02:00
bindings cxx: remove compilation warnings in C++ code, from both gcc and clang 2019-07-12 09:07:27 -04:00
edje_external
examples examples: fix function signature for edje color class example 2019-07-15 09:51:01 -04:00
generic replace hton and ntoh family functions with ones defined in eina 2019-02-01 14:25:35 +00:00
lib efl_ui_slider: fix focus interaction 2019-07-16 16:37:29 +02:00
modules evas_vg_load_svg: Support multiple gradient without <defs> part 2019-07-15 21:23:38 +09:00
scripts eolian: remove API to get freefunc of type 2019-07-08 16:06:42 +02:00
static_libs vg_common_svg: Gradient stop color use premultiplied color. 2019-07-17 17:15:23 +09:00
tests tests/elm: add test for elm_bubble "clicked" smart callback 2019-07-16 13:38:33 -04:00
wayland_protocol