summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_shape.c
diff options
context:
space:
mode:
authorSubhransu Mohanty <sub.mohanty@samsung.com>2015-11-05 19:32:08 +0900
committerCedric BAIL <cedric@osg.samsung.com>2015-11-30 15:48:06 -0800
commitd5719aad9da4ba3d3495b9b6a56a7fb3b8389cb0 (patch)
tree23b41a29cd4b2e4c3983b58101fab619a082bed0 /src/lib/efl/interfaces/efl_gfx_shape.c
parent4a48a7e9eab5551f21c4832fd0a1bf2cfd7a8483 (diff)
efl: update append_circle implementation to use _efl_gfx_shape_append_arc.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/efl/interfaces/efl_gfx_shape.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_shape.c b/src/lib/efl/interfaces/efl_gfx_shape.c
index e4efcef299..49b6e5f4cd 100644
--- a/src/lib/efl/interfaces/efl_gfx_shape.c
+++ b/src/lib/efl/interfaces/efl_gfx_shape.c
@@ -1141,9 +1141,8 @@ static void
1141_efl_gfx_shape_append_circle(Eo *obj, Efl_Gfx_Shape_Data *pd, 1141_efl_gfx_shape_append_circle(Eo *obj, Efl_Gfx_Shape_Data *pd,
1142 double xc, double yc, double radius) 1142 double xc, double yc, double radius)
1143{ 1143{
1144 _efl_gfx_shape_append_move_to(obj, pd, xc - radius, yc); 1144 _efl_gfx_shape_append_arc(obj, pd, xc - radius, yc - radius, 2*radius, 2*radius, 0, 360);
1145 _efl_gfx_shape_append_arc_to(obj, pd, xc + radius, yc, radius, radius, 0, EINA_TRUE, EINA_TRUE); 1145 _efl_gfx_shape_append_close(obj, pd);
1146 _efl_gfx_shape_append_arc_to(obj, pd, xc - radius, yc, radius, radius, 0, EINA_TRUE, EINA_TRUE);
1147} 1146}
1148 1147
1149static void 1148static void