efl/interface : updated efl_gfx_path_append_circle() api. 92/43292/1
authorSubhransu Sekhar Mohanty <sub.mohanty@samsung.com>
Fri, 6 Feb 2015 05:23:29 +0000 (14:23 +0900)
committerSubhransu Mohanty <sub.mohanty@samsung.com>
Wed, 8 Jul 2015 02:13:20 +0000 (11:13 +0900)
Change-Id: I7558b601f11434db192995c1fada6ecb9d0090a7

src/lib/efl/interfaces/efl_gfx_utils.c

index 49fd9d1..05aa10d 100644 (file)
@@ -451,11 +451,9 @@ EAPI void
 efl_gfx_path_append_circle(Efl_Gfx_Path_Command **commands, double **points,
                            double x, double y, double radius)
 {
-   efl_gfx_path_append_move_to(commands, points, x, y - radius);
+   efl_gfx_path_append_move_to(commands, points, x + radius, y);
    efl_gfx_path_append_arc_to(commands, points, x - radius, y, radius, radius, 0, EINA_FALSE, EINA_FALSE);
-   efl_gfx_path_append_arc_to(commands, points, x, y + radius, radius, radius, 0, EINA_FALSE, EINA_FALSE);
    efl_gfx_path_append_arc_to(commands, points, x + radius, y, radius, radius, 0, EINA_FALSE, EINA_FALSE);
-   efl_gfx_path_append_arc_to(commands, points, x, y - radius, radius, radius, 0, EINA_FALSE, EINA_FALSE);
 }
 
 static void