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=ebddb359a35ade070d2c7e79b01e5264ef4a8265;hp=673156b83ea8a7a857374f86cdb0eb175fe4abd7;hb=2512aa2794f3c5ea5841542b9ed9c8c32973540b;hpb=120b951f49a8f1bb98adc557b9415dd044632e5d diff --git a/dali-toolkit/internal/text/visual-model-impl.h b/dali-toolkit/internal/text/visual-model-impl.h index 673156b..ebddb35 100644 --- a/dali-toolkit/internal/text/visual-model-impl.h +++ b/dali-toolkit/internal/text/visual-model-impl.h @@ -552,6 +552,30 @@ public: * @return Returns the override height for a strikethrough, 0 indicates that font metrics will determine the height */ float GetStrikethroughHeight() const; + /** + * @brief Set the override used for character spacing. + * + * @note A positive value will make the characters far apart (expanded) and a negative value will bring them closer (condensed). + * + * @param[in] characterSpacing The character spacing. + */ + void SetCharacterSpacing(float characterSpacing); + + /** + * @brief Retrieves the characterSpacing. + * + * @note A positive value will make the characters far apart (expanded) and a negative value will bring them closer (condensed). + * + * @return Returns the characterSpacing. + */ + const float GetCharacterSpacing() const; + + /** + * @brief Retrieves the Glyphs to Characters Array. + * + * @return The GlyphsToCharacters. + */ + const Vector& GetGlyphsToCharacters() const; /** * @brief Retrieves the strikethrough runs. @@ -640,6 +664,7 @@ public: bool mMarkupProcessorEnabled : 1; ///< Markup-processor enabled flag HyphenInfo mHyphen; ///< Contains hyphen glyph info & the character index to draw hyphen after. bool mStrikethroughEnabled : 1; ///< Strikethrough enabled flag + float mCharacterSpacing; ///< Contains the value of the character spacing. }; } // namespace Text