vg_common_svg: Prevent duplicate operations for percentage value
authorJunsuChoi <jsuya.choi@samsung.com>
Fri, 19 Apr 2019 04:56:48 +0000 (13:56 +0900)
committerYeongjong Lee <yj34.lee@samsung.com>
Wed, 24 Apr 2019 05:24:47 +0000 (14:24 +0900)
commitbce2a1cfd91e3a0c0b62e498edbfb30bca0d48a0
tree8ed447b1766358c4d9d38845453a73eb5cfb4436
parenta4e09d652b85790233c289f2ef7021a3a4093c28
vg_common_svg: Prevent duplicate operations for percentage value

Summary:
x1, y1, x2 and y2 of Svg_Linear_Gradient structure must be a percentage value.(0 ~ 1)
but these variables are reused with efl_gfx_gradient_linear_start/end_set/get
and duplicate operations occur.

Test Plan: N/A

Reviewers: Hermet, smohanty

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8662
src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
src/static_libs/vg_common/vg_common.h
src/static_libs/vg_common/vg_common_svg.c