projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "TextModel - Clear the buffers if the number of items is zero." into new_text
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
visual-model.h
diff --git
a/dali-toolkit/internal/text/visual-model.h
b/dali-toolkit/internal/text/visual-model.h
index
44e42d6
..
9593fd8
100644
(file)
--- a/
dali-toolkit/internal/text/visual-model.h
+++ b/
dali-toolkit/internal/text/visual-model.h
@@
-183,6
+183,14
@@
public:
Length numberOfGlyphs );
/**
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.
* @brief Retrieves the glyph positions.
*
* @pre The size of the @p positions buffer needs to be big enough to copy the @p numberOfGlyphs positions.