Add GetLineBoundingRectangle API.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / line-run.h
index c0bb095..ac2e29d 100644 (file)
@@ -56,6 +56,14 @@ struct LineRun
  */
 float GetLineHeight(const LineRun lineRun, bool isLastLine);
 
+/**
+ * @brief Get the line width for the specified line run.
+ *
+ * @param[in] lineRun The line runs to get the width for.
+ * @return the width of the line.
+ */
+float GetLineWidth(const LineRun& lineRun);
+
 } // namespace Text
 
 } // namespace Toolkit