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"
38# pragma warning(disable : 4275)
39# pragma warning(disable : 4251)
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),
160 const String& imageset_filename,
161 const String& resource_group =
"",
163 const Sizef& native_res =
Sizef(640.0f, 480.0f),
Definition MemoryAllocatedObject.h:110
iterator class for maps
Definition IteratorBase.h:197
Class providing a shared library of Font objects to the system.
Definition FontManager.h:61
Font & createFreeTypeFont(const String &font_name, const float point_size, const bool anti_aliased, const String &font_filename, const String &resource_group="", const AutoScaledMode auto_scaled=ASM_Disabled, const Sizef &native_res=Sizef(640.0f, 480.0f), XMLResourceExistsAction action=XREA_RETURN)
Creates a FreeType type font.
Font & createPixmapFont(const String &font_name, const String &imageset_filename, const String &resource_group="", const AutoScaledMode auto_scaled=ASM_Disabled, const Sizef &native_res=Sizef(640.0f, 480.0f), XMLResourceExistsAction action=XREA_RETURN)
Creates a Pixmap type font.
ConstMapIterator< ObjectRegistry > FontIterator
ConstBaseIterator type definition.
Definition FontManager.h:189
void notifyDisplaySizeChanged(const Sizef &size)
Notify the FontManager that display size may have changed.
FontManager()
Constructor.
void writeFontToStream(const String &name, OutStream &out_stream) const
Writes a full XML font file for the specified Font to the given OutStream.
FontIterator getIterator() const
Return a FontManager::FontIterator object to iterate over the available Font objects.
~FontManager()
Destructor.
Handler class used to parse the Font XML files to create Font objects.
Definition Font_xmlHandler.h:38
Class that encapsulates a typeface.
Definition Font.h:62
Templatised manager class that loads and manages named XML based resources.
Definition NamedXMLResourceManager.h:109
Definition Singleton.h:56
String class used within the GUI system.
Definition String.h:64
Main namespace for Crazy Eddie's GUI Library.
Definition arch_overview.dox:1
AutoScaledMode
Definition Image.h:40
XMLResourceExistsAction
Possible actions when loading an XML resource that already exists.
Definition NamedXMLResourceManager.h:43
std::ostream OutStream
Output stream class.
Definition Base.h:185