jpeg pushed a commit to branch efl-1.19. http://git.enlightenment.org/core/efl.git/commit/?id=e2febfd5953d84bcfea16dc925666117b84e954d
commit e2febfd5953d84bcfea16dc925666117b84e954d Author: Jeeyong Um <[email protected]> Date: Fri Apr 14 10:16:48 2017 +0900 Efl.Gfx.Path: Fix wrong condition check in _find_ellipsis_coords Summary: In previous patch, !w should be replaced with EINA_FLT_EQ(w, 0.0), but it was replaced with !EINA_FLT_EQ(w, 0.0). This breaks rounded rectangle. T5291 Test Plan: compile and run attached file Reviewers: cedric, jpeg, Jaehyun_Cho Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D4787 --- src/lib/efl/interfaces/efl_gfx_path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/efl/interfaces/efl_gfx_path.c b/src/lib/efl/interfaces/efl_gfx_path.c index 964ca2b..e593cbf 100644 --- a/src/lib/efl/interfaces/efl_gfx_path.c +++ b/src/lib/efl/interfaces/efl_gfx_path.c @@ -799,7 +799,7 @@ _find_ellipse_coords(double x, double y, double w, double h, double angle, double angles[2] = { angle, angle + length }; Point *points[2]; - if (!EINA_FLT_EQ(w, 0.0) || !EINA_FLT_EQ(h, 0.0)) + if (EINA_FLT_EQ(w, 0.0) || EINA_FLT_EQ(h, 0.0)) { if (start_point) { --
