hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=31d0d1ffd3c5fd8e4041324db0fbc8c7f68d4678

commit 31d0d1ffd3c5fd8e4041324db0fbc8c7f68d4678
Author: Hermet Park <[email protected]>
Date:   Thu Aug 22 13:12:19 2019 +0900

    efl shape: add missing interpolation of miterlimit property.
---
 src/lib/efl/interfaces/efl_gfx_shape.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/efl/interfaces/efl_gfx_shape.c 
b/src/lib/efl/interfaces/efl_gfx_shape.c
index 7d7e177732..787dbac0c1 100644
--- a/src/lib/efl/interfaces/efl_gfx_shape.c
+++ b/src/lib/efl/interfaces/efl_gfx_shape.c
@@ -36,6 +36,7 @@ struct _Efl_Gfx_Property
    double scale;
    double w;
    double centered;
+   double miterlimit;
 
    Efl_Gfx_Cap c;
    Efl_Gfx_Join j;
@@ -57,6 +58,7 @@ _efl_gfx_property_get(const Eo *obj, Efl_Gfx_Property 
*property)
    efl_gfx_shape_stroke_dash_get(obj, &property->dash, &property->dash_length);
    property->c = efl_gfx_shape_stroke_cap_get(obj);
    property->j = efl_gfx_shape_stroke_join_get(obj);
+   property->miterlimit = efl_gfx_shape_stroke_miterlimit_get(obj);
 }
 
 EOLIAN static Eina_Bool
@@ -117,6 +119,9 @@ _efl_gfx_shape_efl_gfx_path_interpolate(Eo *obj, 
Efl_Gfx_Shape_Data *pd,
    interv = interpolate(property_from.centered, property_to.centered, pos_map);
    efl_gfx_shape_stroke_location_set(obj, interv);
 
+   interv = interpolate(property_from.miterlimit, property_to.miterlimit, 
pos_map);
+   efl_gfx_shape_stroke_miterlimit_set(obj, interv);
+
    efl_gfx_shape_stroke_dash_set(obj, dash, property_to.dash_length);
    efl_gfx_shape_stroke_cap_set(obj, (pos_map < 0.5) ?
                                 property_from.c : property_to.c);

-- 


Reply via email to