diff options
author | JunsuChoi <jsuya.choi@samsung.com> | 2020-09-10 14:59:29 +0900 |
---|---|---|
committer | Hermet Park <chuneon.park@samsung.com> | 2020-09-10 14:59:29 +0900 |
commit | d9c3b3f1b9fa87451aa39da1654a32d3023d9e75 (patch) | |
tree | f2024e4aea5055345c14547821291b4c036325be /src/static_libs | |
parent | 7b7f69e09fb198a881a931bd79ac61b5260b1bb0 (diff) | |
download | efl-d9c3b3f1b9fa87451aa39da1654a32d3023d9e75.tar.gz |
vg_load_svg: Supports case when only rx or ry is declared
Summary:
In relation to the declaration of rx and ry attribute of rect, the following three cases occur.
rx="10" (or ry="10"
rx="10" ry = "0" (or rx="0" ry = "10")
rx="10" ry = "10"
To cover these case, we check the rx and ry declarations.
Test Plan: N/A
Reviewers: Hermet, smohanty
Subscribers: kimcinoo, herb, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D12137
Diffstat (limited to 'src/static_libs')
-rw-r--r-- | src/static_libs/vg_common/vg_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/static_libs/vg_common/vg_common.h b/src/static_libs/vg_common/vg_common.h index 83f9224e45..43e36df4d8 100644 --- a/src/static_libs/vg_common/vg_common.h +++ b/src/static_libs/vg_common/vg_common.h @@ -126,6 +126,8 @@ struct _Svg_Rect_Node double h; double rx; double ry; + Eina_Bool has_rx; + Eina_Bool has_ry; }; struct _Svg_Line_Node |