Add the alignment offset to the glyph lines. 11/40811/10
authorVictor Cebollada <v.cebollada@samsung.com>
Tue, 9 Jun 2015 08:47:25 +0000 (09:47 +0100)
committerVictor Cebollada <v.cebollada@samsung.com>
Thu, 11 Jun 2015 09:54:37 +0000 (10:54 +0100)
commit5064025f6246c31c82cd1531084b639ac9c3237d
treec04c7e0de404c9795e5fa874cadcd120477592af
parent2aa1507dbdb0ed42f45edb1a643f5bd50acd8f51
Add the alignment offset to the glyph lines.

When the lines are horizontally aligned, we don't
want to modify the original layout. Subsequent calls
to Layout::Align() will always use the original layout
and modify only the alignment offset of each line.
The TextView is the responsible of adding the offset
to get the final layout.

Change-Id: Id8c1fea9a75e77b597b6744f226ef566408e6e8c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
dali-toolkit/internal/text/layouts/layout-engine.cpp
dali-toolkit/internal/text/layouts/layout-engine.h
dali-toolkit/internal/text/line-run.h
dali-toolkit/internal/text/text-controller.cpp
dali-toolkit/internal/text/text-view.cpp
dali-toolkit/internal/text/visual-model-impl.cpp
dali-toolkit/internal/text/visual-model-impl.h