X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Flayouts%2Flayout-engine.h;h=cdcd1567de3a8d264a89d83a60e55d1b563ba71e;hp=59977c29ef076578f6912dd624013a79ea815194;hb=2c7cfdb64f1a8281c8cbbe9531ec0b2ed779f915;hpb=c2657923e8fb857d2ed6b2dc41d9dd7042f2e4b2 diff --git a/dali-toolkit/internal/text/layouts/layout-engine.h b/dali-toolkit/internal/text/layouts/layout-engine.h index 59977c2..cdcd156 100644 --- a/dali-toolkit/internal/text/layouts/layout-engine.h +++ b/dali-toolkit/internal/text/layouts/layout-engine.h @@ -18,13 +18,13 @@ * */ -// INTERNAL INCLUDE -#include - // EXTERNAL INCLUDE #include #include +// INTERNAL INCLUDE +#include + namespace Dali { @@ -90,6 +90,17 @@ public: Vector& lines, Size& actualSize ); + /** + * Re-lays out those lines with right to left characters. + * + * It doesn't change the phisical position of the glyphs in the model but sets their new position. + * + * @param[in] layoutParameters The parameters needed to layout the text. + * @param[in,out] glyphPositions The positions of all the glyphs. + */ + void ReLayoutRightToLeftLines( const LayoutParameters& layoutParameters, + Vector& glyphPositions ); + private: // Undefined