diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-02-12 17:14:34 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-02-12 17:14:34 -0500 |
commit | 536bfb761309a5a8f354e049bd11bef7b98feee7 (patch) | |
tree | 73d32262e93f3ff519f32fef8e1e22fd321ce992 /src/lib/evas/canvas/evas_vg_gradient_linear.c | |
parent | 09f2fab14440ceb6e71b7af681edc44fffc82733 (diff) |
evas_vg: implement interpolate from Efl.Gfx.Path
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_gradient_linear.c')
-rw-r--r-- | src/lib/evas/canvas/evas_vg_gradient_linear.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_vg_gradient_linear.c b/src/lib/evas/canvas/evas_vg_gradient_linear.c index e0cac2203d..9d9046bd9d 100644 --- a/src/lib/evas/canvas/evas_vg_gradient_linear.c +++ b/src/lib/evas/canvas/evas_vg_gradient_linear.c | |||
@@ -123,7 +123,7 @@ _efl_vg_gradient_linear_efl_gfx_path_bounds_get(Eo *obj, Efl_VG_Gradient_Linear_ | |||
123 | } | 123 | } |
124 | 124 | ||
125 | static Eina_Bool | 125 | static Eina_Bool |
126 | _efl_vg_gradient_linear_efl_vg_interpolate(Eo *obj, | 126 | _efl_vg_gradient_linear_efl_gfx_path_interpolate(Eo *obj, |
127 | Efl_VG_Gradient_Linear_Data *pd, | 127 | Efl_VG_Gradient_Linear_Data *pd, |
128 | const Efl_VG *from, const Efl_VG *to, | 128 | const Efl_VG *from, const Efl_VG *to, |
129 | double pos_map) | 129 | double pos_map) |
@@ -132,7 +132,7 @@ _efl_vg_gradient_linear_efl_vg_interpolate(Eo *obj, | |||
132 | double from_map; | 132 | double from_map; |
133 | Eina_Bool r; | 133 | Eina_Bool r; |
134 | 134 | ||
135 | r = efl_vg_interpolate(efl_super(obj, EFL_VG_GRADIENT_LINEAR_CLASS), from, to, pos_map); | 135 | r = efl_gfx_path_interpolate(efl_super(obj, EFL_VG_GRADIENT_LINEAR_CLASS), from, to, pos_map); |
136 | 136 | ||
137 | if (!r) return EINA_FALSE; | 137 | if (!r) return EINA_FALSE; |
138 | 138 | ||