Add the paragraph's direction to all lines.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / line-run.h
index fd5371d..7df4bec 100644 (file)
@@ -38,11 +38,12 @@ namespace Text
  */
 struct LineRun
 {
  */
 struct LineRun
 {
-  GlyphIndex   glyphIndex;     ///< The initial glyph index.
-  Length       numberOfGlyphs; ///< The number of glyphs of the run.
-  CharacterRun characterRun;   ///< The initial character and the number of characters.
-  Size         lineSize;       ///< The size of the line.
-  float        extraLength;    ///< The length of the white spaces at the end of the line.
+  GlyphIndex         glyphIndex;     ///< The initial glyph index.
+  Length             numberOfGlyphs; ///< The number of glyphs of the run.
+  CharacterRun       characterRun;   ///< The initial character and the number of characters.
+  Size               lineSize;       ///< The size of the line.
+  float              extraLength;    ///< The length of the white spaces at the end of the line.
+  CharacterDirection direction;      ///< Direction of the first character of the paragraph.
 };
 
 } // namespace Text
 };
 
 } // namespace Text