27 #ifndef _CEGUIPixmapFont_h_
28 #define _CEGUIPixmapFont_h_
30 #include "CEGUI/Font.h"
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_
void addPixmapFontProperties()
Register all properties of this class.
void writeXMLToStream_impl(XMLSerializer &xml_stream) const
implementaion version of writeXMLToStream.
bool d_imagesetOwner
true if we own the imageset
Definition: PixmapFont.h:121
void updateFont()
Update the font as needed, according to the current parameters.
No auto scaling takes place.
Definition: Image.h:42
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.
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
void reinit()
Initialize the imageset.
String d_imageNamePrefix
The Image name prefix used for the glyphs.
Definition: PixmapFont.h:117
const String & getImageNamePrefix() const
Return the image name prefix that the font is using for it's glyphs.
AutoScaledMode
Definition: Image.h:39
Implementation of the Font class interface using static Imageset's.
Definition: PixmapFont.h:43
Class that encapsulates a typeface.
Definition: Font.h:58
float d_origHorzScaling
Current X scaling for glyph images.
Definition: PixmapFont.h:119
void setImageNamePrefix(const String &name_prefix)
Set image name prefix font should use for it's glyphs.
Class used to create XML Document.
Definition: XMLSerializer.h:85
String class used within the GUI system.
Definition: String.h:62