summaryrefslogtreecommitdiff
path: root/src/static_libs
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-04-19 15:21:07 +0900
committerHermet Park <hermetpark@gmail.com>2019-04-19 15:21:07 +0900
commit29b65ccf88212b2fdee48776a5a155eb4c511804 (patch)
treeea3007a7ca0bbbc9ebef34a2e46fdc6b18badb62 /src/static_libs
parent41152dc29e77ed55d9611d1f6d63dc9b33ca392b (diff)
evas svg: code refactoring.
reorder data fields to packing memory fit.
Diffstat (limited to 'src/static_libs')
-rw-r--r--src/static_libs/vg_common/vg_common.h2
-rw-r--r--src/static_libs/vg_common/vg_common_svg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/static_libs/vg_common/vg_common.h b/src/static_libs/vg_common/vg_common.h
index 3dc102c..3484a71 100644
--- a/src/static_libs/vg_common/vg_common.h
+++ b/src/static_libs/vg_common/vg_common.h
@@ -202,11 +202,11 @@ struct _Svg_Style_Gradient
202 Eina_Stringshare *id; 202 Eina_Stringshare *id;
203 Eina_Stringshare *ref; 203 Eina_Stringshare *ref;
204 Efl_Gfx_Gradient_Spread spread; 204 Efl_Gfx_Gradient_Spread spread;
205 Eina_Bool user_space;
206 Eina_List *stops; // Efl_Gfx_Gradient_Stop 205 Eina_List *stops; // Efl_Gfx_Gradient_Stop
207 Svg_Radial_Gradient *radial; 206 Svg_Radial_Gradient *radial;
208 Svg_Linear_Gradient *linear; 207 Svg_Linear_Gradient *linear;
209 Eina_Matrix3 *transform; 208 Eina_Matrix3 *transform;
209 Eina_Bool user_space;
210 Eina_Bool use_percentage; 210 Eina_Bool use_percentage;
211}; 211};
212 212
diff --git a/src/static_libs/vg_common/vg_common_svg.c b/src/static_libs/vg_common/vg_common_svg.c
index 51f27ba..9cb4b9e 100644
--- a/src/static_libs/vg_common/vg_common_svg.c
+++ b/src/static_libs/vg_common/vg_common_svg.c
@@ -158,10 +158,10 @@ _eet_for_style_gradient(void)
158 EET_DATA_DESCRIPTOR_ADD_BASIC(_eet_style_gradient_node, Svg_Style_Gradient, "type", type, EET_T_INT); 158 EET_DATA_DESCRIPTOR_ADD_BASIC(_eet_style_gradient_node, Svg_Style_Gradient, "type", type, EET_T_INT);
159 EET_DATA_DESCRIPTOR_ADD_BASIC(_eet_style_gradient_node, Svg_Style_Gradient, "id", id, EET_T_STRING); 159 EET_DATA_DESCRIPTOR_ADD_BASIC(_eet_style_gradient_node, Svg_Style_Gradient, "id", id, EET_T_STRING);
160 EET_DATA_DESCRIPTOR_ADD_BASIC(_eet_style_gradient_node, Svg_Style_Gradient, "spread", spread, EET_T_INT); 160 EET_DATA_DESCRIPTOR_ADD_BASIC(_eet_style_gradient_node, Svg_Style_Gradient, "spread", spread, EET_T_INT);
161 EET_DATA_DESCRIPTOR_ADD_BASIC(_eet_style_gradient_node, Svg_Style_Gradient, "user_space", user_space, EET_T_INT);
162 EET_DATA_DESCRIPTOR_ADD_LIST(_eet_style_gradient_node, Svg_Style_Gradient, "stops", stops, _eet_gradient_stops_node); 161 EET_DATA_DESCRIPTOR_ADD_LIST(_eet_style_gradient_node, Svg_Style_Gradient, "stops", stops, _eet_gradient_stops_node);
163 EET_DATA_DESCRIPTOR_ADD_SUB(_eet_style_gradient_node, Svg_Style_Gradient, "radial", radial, _eet_radial_gradient_node); 162 EET_DATA_DESCRIPTOR_ADD_SUB(_eet_style_gradient_node, Svg_Style_Gradient, "radial", radial, _eet_radial_gradient_node);
164 EET_DATA_DESCRIPTOR_ADD_SUB(_eet_style_gradient_node, Svg_Style_Gradient, "linear", linear, _eet_linear_gradient_node); 163 EET_DATA_DESCRIPTOR_ADD_SUB(_eet_style_gradient_node, Svg_Style_Gradient, "linear", linear, _eet_linear_gradient_node);
164 EET_DATA_DESCRIPTOR_ADD_BASIC(_eet_style_gradient_node, Svg_Style_Gradient, "user_space", user_space, EET_T_INT);
165 165
166 return _eet_style_gradient_node; 166 return _eet_style_gradient_node;
167} 167}