27 #ifndef _CEGUIFontManager_h_
28 #define _CEGUIFontManager_h_
30 #include "CEGUI/Singleton.h"
31 #include "CEGUI/NamedXMLResourceManager.h"
32 #include "CEGUI/Font.h"
33 #include "CEGUI/Font_xmlHandler.h"
34 #include "CEGUI/IteratorBase.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4275)
39 # pragma warning(disable : 4251)
111 Font& createFreeTypeFont(
const String& font_name,
const float point_size,
112 const bool anti_aliased,
113 const String& font_filename,
114 const String& resource_group =
"",
116 const Sizef& native_res =
Sizef(640.0f, 480.0f),
159 Font& createPixmapFont(
const String& font_name,
160 const String& imageset_filename,
161 const String& resource_group =
"",
163 const Sizef& native_res =
Sizef(640.0f, 480.0f),
173 void notifyDisplaySizeChanged(
const Sizef& size);
186 void writeFontToStream(
const String& name,
OutStream& out_stream)
const;
196 FontIterator getIterator()
const;
207 #if defined(_MSC_VER)
208 # pragma warning(pop)
211 #endif // end of guard _CEGUIFontManager_h_
No auto scaling takes place.
Definition: Image.h:42
Definition: MemoryAllocatedObject.h:109
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
std::ostream OutStream
Output stream class.
Definition: Base.h:185
AutoScaledMode
Definition: Image.h:39
Definition: Singleton.h:55
Class that encapsulates a typeface.
Definition: Font.h:58
Class providing a shared library of Font objects to the system.
Definition: FontManager.h:57
iterator class for maps
Definition: IteratorBase.h:196
Templatised manager class that loads and manages named XML based resources.
Definition: NamedXMLResourceManager.h:108
XMLResourceExistsAction
Possible actions when loading an XML resource that already exists.
Definition: NamedXMLResourceManager.h:42
Do not load the resource, return the existing instance.
Definition: NamedXMLResourceManager.h:45
ConstMapIterator< ObjectRegistry > FontIterator
ConstBaseIterator type definition.
Definition: FontManager.h:189
String class used within the GUI system.
Definition: String.h:62