summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/efl/interfaces/efl_gfx_shape.c16
-rw-r--r--src/lib/efl/interfaces/efl_gfx_shape.eo12
-rw-r--r--src/lib/efl/interfaces/efl_gfx_types.eot1
3 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_shape.c b/src/lib/efl/interfaces/efl_gfx_shape.c
index fa3b718e1b..7d7e177732 100644
--- a/src/lib/efl/interfaces/efl_gfx_shape.c
+++ b/src/lib/efl/interfaces/efl_gfx_shape.c
@@ -293,6 +293,7 @@ _efl_gfx_shape_efl_gfx_path_copy_from(Eo *obj, Efl_Gfx_Shape_Data *pd,
293 pd->public.stroke.color.g = from->public.stroke.color.g; 293 pd->public.stroke.color.g = from->public.stroke.color.g;
294 pd->public.stroke.color.b = from->public.stroke.color.b; 294 pd->public.stroke.color.b = from->public.stroke.color.b;
295 pd->public.stroke.color.a = from->public.stroke.color.a; 295 pd->public.stroke.color.a = from->public.stroke.color.a;
296 pd->public.stroke.miterlimit = from->public.stroke.miterlimit;
296 pd->fill_rule = from->fill_rule; 297 pd->fill_rule = from->fill_rule;
297 298
298 _efl_gfx_shape_stroke_dash_set(obj, pd, from->public.stroke.dash, 299 _efl_gfx_shape_stroke_dash_set(obj, pd, from->public.stroke.dash,
@@ -301,4 +302,19 @@ _efl_gfx_shape_efl_gfx_path_copy_from(Eo *obj, Efl_Gfx_Shape_Data *pd,
301 efl_gfx_path_copy_from(efl_super(obj, MY_CLASS), dup_from); 302 efl_gfx_path_copy_from(efl_super(obj, MY_CLASS), dup_from);
302} 303}
303 304
305EOLIAN static void
306_efl_gfx_shape_stroke_miterlimit_set(Eo *obj EINA_UNUSED,
307 Efl_Gfx_Shape_Data *pd,
308 double miterlimit)
309{
310 pd->public.stroke.miterlimit = miterlimit;
311}
312
313EOLIAN static double
314_efl_gfx_shape_stroke_miterlimit_get(const Eo *obj EINA_UNUSED,
315 Efl_Gfx_Shape_Data *pd)
316{
317 return pd->public.stroke.miterlimit;
318}
319
304#include "interfaces/efl_gfx_shape.eo.c" 320#include "interfaces/efl_gfx_shape.eo.c"
diff --git a/src/lib/efl/interfaces/efl_gfx_shape.eo b/src/lib/efl/interfaces/efl_gfx_shape.eo
index 321d4057bf..89750771da 100644
--- a/src/lib/efl/interfaces/efl_gfx_shape.eo
+++ b/src/lib/efl/interfaces/efl_gfx_shape.eo
@@ -97,6 +97,18 @@ mixin @beta Efl.Gfx.Shape extends Efl.Gfx.Path
97 j: Efl.Gfx.Join; [[Join style to use, default is @Efl.Gfx.Join.miter]] 97 j: Efl.Gfx.Join; [[Join style to use, default is @Efl.Gfx.Join.miter]]
98 } 98 }
99 } 99 }
100 @property stroke_miterlimit {
101 [[The stroke_miterlimit is a presentation defining a limit on the ratio of
102 the miter length to the stroke-width used to draw a miter join.
103 ]]
104 set {
105 }
106 get {
107 }
108 values {
109 miterlimit: double; [[Limit value on the ratio of the miter.]]
110 }
111 }
100 @property fill_rule { 112 @property fill_rule {
101 [[The fill rule of the given shape object. 113 [[The fill rule of the given shape object.
102 @Efl.Gfx.Fill_Rule.winding or @Efl.Gfx.Fill_Rule.odd_even. 114 @Efl.Gfx.Fill_Rule.winding or @Efl.Gfx.Fill_Rule.odd_even.
diff --git a/src/lib/efl/interfaces/efl_gfx_types.eot b/src/lib/efl/interfaces/efl_gfx_types.eot
index 64bde5a6c7..0f2954b954 100644
--- a/src/lib/efl/interfaces/efl_gfx_types.eot
+++ b/src/lib/efl/interfaces/efl_gfx_types.eot
@@ -132,6 +132,7 @@ struct @beta Efl.Gfx.Stroke
132 dash_length: uint; [[Stroke dash length]] 132 dash_length: uint; [[Stroke dash length]]
133 cap: Efl.Gfx.Cap; [[Stroke cap]] 133 cap: Efl.Gfx.Cap; [[Stroke cap]]
134 join: Efl.Gfx.Join; [[Stroke join]] 134 join: Efl.Gfx.Join; [[Stroke join]]
135 miterlimit: double; [[Stroke miterlimit]]
135} 136}
136 137
137struct @beta Efl.Gfx.Shape_Public 138struct @beta Efl.Gfx.Shape_Public