efl_ui_textpath: deprecate elm_textpath_circle_set()

Summary:
this api can be replaced with elm_textpath_circular_set()

Depends on {D9260}

Reviewers: #committers, kimcinoo

Reviewed By: #committers, kimcinoo

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9314
This commit is contained in:
Hermet Park 2019-07-22 17:01:45 +09:00
parent bf7e05586f
commit f6729087ca
2 changed files with 16 additions and 16 deletions

View File

@ -26,22 +26,6 @@ typedef enum
#endif
/**
* @brief Set a circle with given center, radius, and start angle.
*
* @param[in] obj The object.
* @param[in] x X coordinate of center
* @param[in] y Y coordinate of center
* @param[in] radius Radius of the circle
* @param[in] start_angle Start angle of the circle
* @param[in] direction Textpath direction
*
* @see elm_textpath_circluar_set()
*
* @ingroup Elm_Textpath_Group
*/
EAPI void elm_textpath_circle_set(Efl_Ui_Textpath *obj, double x, double y, double radius, double start_angle, Efl_Ui_Textpath_Direction direction);
/**
* @brief Set a circle with given radius, and start angle.
* The circle center will be decided by the object center position.

View File

@ -1668,3 +1668,19 @@ EINA_DEPRECATED EAPI char *elm_access_external_info_get(const Evas_Object *obj);
// elm_win
EINA_DEPRECATED EAPI void elm_win_type_set(Evas_Object *obj, Elm_Win_Type type);
EINA_DEPRECATED EAPI void elm_win_name_set(Evas_Object *obj, const char *name);
/**
* @brief Set a circle with given center, radius, and start angle.
*
* @param[in] obj The object.
* @param[in] x X coordinate of center
* @param[in] y Y coordinate of center
* @param[in] radius Radius of the circle
* @param[in] start_angle Start angle of the circle
* @param[in] direction Textpath direction
*
* @deprecated Use elm_textpath_circluar_set() instead.
*
* @ingroup Elm_Textpath_Group
*/
EINA_DEPRECATED EAPI void elm_textpath_circle_set(Efl_Ui_Textpath *obj, double x, double y, double radius, double start_angle, Efl_Ui_Textpath_Direction direction);