path: root/src/lib/elementary/efl_ui_textpath_eo.legacy.c
diff options
authorHermet Park <>2019-07-22 16:47:43 +0900
committerHermet Park <>2019-07-22 16:47:43 +0900
commitbf7e05586f002aa66688c37eabcd3a44f847ee16 (patch)
tree730035aa8717b426d6245e5b45ddf371d4abb1de /src/lib/elementary/efl_ui_textpath_eo.legacy.c
parente97d3c08ea83b611c8b4fd06e1fe5fdd24a1dca9 (diff)
efl_ui_textpath: introduce efl_ui_textpath_circular_set() interface.
Summary: This patch revises efl_ui_textpath_circle_set() interface. Current circle_set() behavior is wrongly working, it makes object minimal size with (x * 2, y * 2). Insanely, how big size if the object is far from the screen origin. Secondly, current interface requires center position, How this center position could be guranteed if user wants to put it into a container? Third, actual textpath output could be out of the textpath boundary, since the textpath is originated to middle of text height. the display boundary can be outside of the textpath geometry by (half of text height). All in all, put altogether in fix, I confirmed there is no methods without any compatibility break. This brings elm_textpath_circular_set() api introduced. @feature Reviewers: #committers, kimcinoo, jsuya Subscribers: zmike, bu5hm4n, segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision:
Diffstat (limited to 'src/lib/elementary/efl_ui_textpath_eo.legacy.c')
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_textpath_eo.legacy.c b/src/lib/elementary/efl_ui_textpath_eo.legacy.c
index e810a856dd..1af5fdb1f8 100644
--- a/src/lib/elementary/efl_ui_textpath_eo.legacy.c
+++ b/src/lib/elementary/efl_ui_textpath_eo.legacy.c
@@ -1,8 +1,8 @@
1 1
2EAPI void 2EAPI void
3elm_textpath_circle_set(Efl_Ui_Textpath *obj, double x, double y, double radius, double start_angle, Efl_Ui_Textpath_Direction direction) 3elm_textpath_circular_set(Efl_Ui_Textpath *obj, double radius, double start_angle, Efl_Ui_Textpath_Direction direction)
4{ 4{
5 efl_ui_textpath_circle_set(obj, x, y, radius, start_angle, direction); 5 efl_ui_textpath_circular_set(obj, radius, start_angle, direction);
6} 6}
7 7
8EAPI void 8EAPI void
@@ -23,6 +23,7 @@ elm_textpath_ellipsis_set(Efl_Ui_Textpath *obj, Eina_Bool ellipsis)
23 efl_ui_textpath_ellipsis_set(obj, ellipsis); 23 efl_ui_textpath_ellipsis_set(obj, ellipsis);
24} 24}
25 25
26EAPI Eina_Bool 27EAPI Eina_Bool
27elm_textpath_ellipsis_get(const Efl_Ui_Textpath *obj) 28elm_textpath_ellipsis_get(const Efl_Ui_Textpath *obj)
28{ 29{