Efl.Ui.Textpath: support center align for each direction
authorShinwoo Kim <cinoo.kim@samsung.com>
Tue, 21 May 2019 05:31:12 +0000 (14:31 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 30 May 2019 08:17:52 +0000 (17:17 +0900)
commit910adce75a7084884ec11a0774a4d96668e56d4c
treef787b4c6628af13bdf82c88a77fb6d0755a1ca6e
parent92a77498f561d2c08ebce721e141d86b026f53d0
Efl.Ui.Textpath: support center align for each direction

Summary:
The textpath draws text from the start_angle. User needs to set correct
start_angle to center the text. This start_angle could be changed according to
each parameters of circle_set such as x, y, radius, direction and text itself.

So this patch is introducing direction EFL_UI_TEXTPATH_DIRECTION_CC(W)_CENTER.
The center of textpath will be located at the start_angle with this direction.

Test Plan: I will add example if this patch is acceptable.

Reviewers: Hermet, jsuya

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8892
src/lib/elementary/efl_ui_textpath.c
src/lib/elementary/efl_ui_textpath.eo
src/lib/elementary/efl_ui_textpath_eo.legacy.h