3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
\r
5 // Licensed under the Flora License, Version 1.0 (the License);
\r
6 // you may not use this file except in compliance with the License.
\r
7 // You may obtain a copy of the License at
\r
9 // http://floralicense.org/license/
\r
11 // Unless required by applicable law or agreed to in writing, software
\r
12 // distributed under the License is distributed on an AS IS BASIS,
\r
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 // See the License for the specific language governing permissions and
\r
15 // limitations under the License.
\r
19 /*@file: FontManager.h
\r
20 *@brief: This header file contains the declarations of the %FontManager class.
\r
23 #ifndef _INT_FONT_MANAGER_H_
\r
24 #define _INT_FONT_MANAGER_H_
\r
27 #include <FGraphics.h>
\r
33 * Defines a ID for a different font size
\r
65 * Defines a table for text fontName, fontStyle and fontSize
\r
70 Tizen::Graphics::Font* pInstance;
\r
71 Tizen::Base::String fontName;
\r
77 * @class FontManager
\r
78 * @brief This class declares functions which can change text font properties
\r
84 * Gets the font using fontValue
\r
86 * @return * This header file contains the declarations of the %FontManager class.
\r
88 * pointer to a font value
\r
89 * @param[in] fontValue The ID of the font
\r
90 * @remarks To work properly, the existing fontValue has to be passed.
\r
92 static Tizen::Graphics::Font* GetFont(FontId fontValue);
\r
95 * Release all the created fonts
\r
97 * @return no return value
\r
98 * @param[in] no input parameters
\r
100 static void ReleaseFonts(void);
\r
104 * Creates a font using fontValue
\r
106 * @return no return value
\r
107 * @param[in] fontValue The ID of the font
\r
108 * @remarks To work properly, the existing fontValue has to be passed.
\r
110 static void CreateFont(FontId fontValue);
\r
115 #endif //_INT_FONT_MANAGER_H_
\r