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