27 #ifndef _CEGUIPixmapFont_h_
28 #define _CEGUIPixmapFont_h_
30 #include "CEGUI/Font.h"
43 class PixmapFont :
public Font
78 PixmapFont(
const String& font_name,
const String& imageset_filename,
79 const String& resource_group =
"",
81 const Sizef& native_res = Sizef(640.0f, 480.0f));
86 void defineMapping(
const utf32 codepoint,
const String& image_name,
87 const float horz_advance);
88 void defineMapping(
const String& value);
126 #endif // end of guard _CEGUIPixmapFont_h_
const String & getImageNamePrefix() const
Return the image name prefix that the font is using for it's glyphs.
Definition: PixmapFont.cpp:210
void addPixmapFontProperties()
Register all properties of this class.
Definition: PixmapFont.cpp:69
void writeXMLToStream_impl(XMLSerializer &xml_stream) const
implementaion version of writeXMLToStream.
Definition: PixmapFont.cpp:148
bool d_imagesetOwner
true if we own the imageset
Definition: cegui/include/CEGUI/PixmapFont.h:121
void updateFont()
Update the font as needed, according to the current parameters.
Definition: PixmapFont.cpp:109
PixmapFont(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))
Constructor for Pixmap type fonts.
Definition: PixmapFont.cpp:46
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
void reinit()
Initialize the imageset.
Definition: PixmapFont.cpp:89
~PixmapFont()
Destructor.
Definition: PixmapFont.cpp:62
String d_imageNamePrefix
The Image name prefix used for the glyphs.
Definition: cegui/include/CEGUI/PixmapFont.h:117
AutoScaledMode
Definition: cegui/include/CEGUI/Image.h:39
float d_origHorzScaling
Current X scaling for glyph images.
Definition: cegui/include/CEGUI/PixmapFont.h:119
void setImageNamePrefix(const String &name_prefix)
Set image name prefix font should use for it's glyphs.
Definition: PixmapFont.cpp:216
No auto scaling takes place.
Definition: cegui/include/CEGUI/Image.h:42