Merge "Lines added to the model." into new_text
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / visual-model.h
index ad2a137..5c57e2d 100644 (file)
@@ -178,6 +178,14 @@ public:
                           Length numberOfGlyphs );
 
   /**
+   * Retrieves the number of glyph positions set.
+   *
+   * @note This may be less than the number of glyphs in the model.
+   * @return The number of glyphs.
+   */
+  Length GetNumberOfGlyphPositions() const;
+
+  /**
    * @brief Retrieves the glyph positions.
    *
    * @pre The size of the @p positions buffer needs to be big enough to copy the @p numberOfGlyphs positions.
@@ -241,8 +249,8 @@ public:
    *
    * @return The number of lines.
    */
-  TextAbstraction::Length GetNumberOfLines( GlyphIndex glyphIndex,
-                                            Length numberOfGlyphs ) const;
+  Length GetNumberOfLines( GlyphIndex glyphIndex,
+                           Length numberOfGlyphs ) const;
   /**
    * Retrieves the lines where the given range of glyphs is laid out.
    *