X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fmarkup-processor-font.h;h=6461451e6ca1d6f09c8be11ed0ce589917748a4c;hp=8b075bf3d750790e7c42b71054816008ab552c0c;hb=9012617eed6ae42908bbb15363cc9db49af44e2d;hpb=b8da2e53925b9abb9fa362560069e8ca4aa62f81 diff --git a/dali-toolkit/internal/text/markup-processor-font.h b/dali-toolkit/internal/text/markup-processor-font.h index 8b075bf..6461451 100644 --- a/dali-toolkit/internal/text/markup-processor-font.h +++ b/dali-toolkit/internal/text/markup-processor-font.h @@ -25,6 +25,7 @@ namespace Toolkit namespace Text { struct Tag; +struct Attribute; struct FontDescriptionRun; /** @@ -35,6 +36,46 @@ struct FontDescriptionRun; */ void ProcessFontTag(const Tag& tag, FontDescriptionRun& fontRun); +/** + * @brief Fill the font run with the font slant attribute value. + * + * @param[in] attribute the font slant attribute. + * @param[out] fontRun The font description run. + */ +void ProcessFontSlant(const Attribute& attribute, FontDescriptionRun& fontRun); + +/** + * @brief Fill the font run with the font width attribute value. + * + * @param[in] attribute the font width attribute. + * @param[out] fontRun The font description run. + */ +void ProcessFontWidth(const Attribute& attribute, FontDescriptionRun& fontRun); + +/** + * @brief Fill the font run with the font weight attribute value. + * + * @param[in] attribute the font weight attribute. + * @param[out] fontRun The font description run. + */ +void ProcessFontWeight(const Attribute& attribute, FontDescriptionRun& fontRun); + +/** + * @brief Fill the font run with the font size attribute value. + * + * @param[in] attribute the font size attribute. + * @param[out] fontRun The font description run. + */ +void ProcessFontSize(const Attribute& attribute, FontDescriptionRun& fontRun); + +/** + * @brief Fill the font run with the font family attribute value. + * + * @param[in] attribute the font family attribute. + * @param[out] fontRun The font description run. + */ +void ProcessFontFamily(const Attribute& attribute, FontDescriptionRun& fontRun); + } // namespace Text } // namespace Toolkit