From f8ddf91eaac1a7cfb120ee305a735e41ba7d83b1 Mon Sep 17 00:00:00 2001 From: Subhransu Mohanty Date: Thu, 7 Jan 2016 15:34:01 +0900 Subject: [PATCH] evas: added missing append_arc() api declaration. Change-Id: I5eb1c5c37be4b75b31dbf5ab953720dead26331e --- src/lib/evas/Evas_Legacy.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h index 2e1aff4..5b82b4e 100644 --- a/src/lib/evas/Evas_Legacy.h +++ b/src/lib/evas/Evas_Legacy.h @@ -2319,6 +2319,24 @@ EAPI void evas_vg_shape_shape_append_scubic_to(Eo *obj, double x, double y, doub */ EAPI void evas_vg_shape_shape_append_arc_to(Eo *obj, double x, double y, double rx, double ry, double angle, Eina_Bool large_arc, Eina_Bool sweep); + +/** + * @brief Append an arc that enclosed in the given rectangle (x, y, w, h). The + * angle is defined in counter clock wise , use -ve angle for clockwise arc. + * + * @param[in] y Y co-ordinate of the rect. + * @param[in] w width of the rect. + * @param[in] h height of the rect. + * @param[in] start_angle Angle at which the arc will start + * @param[in] sweep_length @ Length of the arc. + * + * @since 1.14 + * + * @ingroup Efl_Gfx_Shape + */ +EAPI void evas_vg_shape_shape_append_arc(Eo *obj, double x, double y, double w, double h, double start_angle, double sweep_length); + + /** * * Closes the current subpath by drawing a line to the beginning of the subpath, -- 2.7.4