X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fvisual-model-impl.h;h=5aa90af4c37c5f7d978284cb3cfe95e57e39f3c7;hp=eb2e5a02fc586cc7d068ac243ecaf96cefd8c79e;hb=a2de9cf491172cd5da9dc9ed60b17683dab6d7bc;hpb=4f2f51d77ac571ac97d44af755d9a86da41c29d2 diff --git a/dali-toolkit/internal/text/visual-model-impl.h b/dali-toolkit/internal/text/visual-model-impl.h index eb2e5a0..5aa90af 100644 --- a/dali-toolkit/internal/text/visual-model-impl.h +++ b/dali-toolkit/internal/text/visual-model-impl.h @@ -67,18 +67,22 @@ public: * @pre The glyphs per character table needs to be created first. * * @param[in] startIndex The character from where the conversion table is created. + * @param[in] startGlyphIndex The glyph from where the conversion table is created. * @param[in] numberOfCharacters The number of characters. */ void CreateCharacterToGlyphTable( CharacterIndex startIndex, + GlyphIndex startGlyphIndex, Length numberOfCharacters ); /** * @brief Creates an array containing the number of glyphs per character. * * @param[in] startIndex The character from where the table is created. + * @param[in] startGlyphIndex The glyph from where the conversion table is created. * @param[in] numberOfCharacters The number of characters. */ void CreateGlyphsPerCharacterTable( CharacterIndex startIndex, + GlyphIndex startGlyphIndex, Length numberOfCharacters ); /** @@ -174,18 +178,18 @@ public: const Vector2& GetNaturalSize() const; /** - * @brief Sets the text's actual size after it has been laid out. + * @brief Sets the text's layout size. * * @param[in] size The text's size. */ - void SetActualSize( const Vector2& size ); + void SetLayoutSize( const Vector2& size ); /** - * @brief Retrieves the text's actual size after it has been laid out. + * @brief Retrieves the text's layout size. * * @return The text's size. */ - const Vector2& GetActualSize() const; + const Vector2& GetLayoutSize() const; /** * @brief Set the text's color @@ -318,7 +322,7 @@ public: private: Size mNaturalSize; ///< Size of the text with no line wrapping. - Size mActualSize; ///< Size of the laid-out text considering the layout properties set. + Size mLayoutSize; ///< Size of the laid-out text considering the layout properties set. // Caches to increase performance in some consecutive operations. LineIndex mCachedLineIndex; ///< Used to increase performance in consecutive calls to GetLineOfGlyph() or GetLineOfCharacter() with consecutive glyphs or characters.