28 #ifndef _CEGUIPixmapFont_h_
29 #define _CEGUIPixmapFont_h_
31 #include "CEGUIFont.h"
80 const String& resource_group =
"",
81 const bool auto_scaled =
false,
82 const float native_horz_res = 640.0f,
83 const float native_vert_res = 480.0f);
88 void defineMapping(
const utf32 codepoint,
const String& image_name,
89 const float horz_advance);
131 #endif // end of guard _CEGUIPixmapFont_h_
const String & getImageset() const
Return the name of the imageset the font is using for it's glyphs.
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: CEGUIPixmapFont.h:126
void updateFont()
Update the font as needed, according to the current parameters.
void reinit()
Initialize the imageset.
Offers functions to define, access, and draw, a set of image components on a single graphical surface...
Definition: CEGUIImageset.h:63
Implementation of the Font class interface using static Imageset's.
Definition: CEGUIPixmapFont.h:44
Class that encapsulates a typeface.
Definition: CEGUIFont.h:58
float d_origHorzScaling
Current X scaling for glyph images.
Definition: CEGUIPixmapFont.h:124
Imageset * d_glyphImages
The imageset with the glyphs.
Definition: CEGUIPixmapFont.h:122
void setImageset(const String &imageset)
Set Imageset the font is using for it's glyphs.
Class used to create XML Document.
Definition: CEGUIXMLSerializer.h:86
String class used within the GUI system.
Definition: CEGUIString.h:57
PixmapFont(const String &font_name, const String &imageset_filename, const String &resource_group="", const bool auto_scaled=false, const float native_horz_res=640.0f, const float native_vert_res=480.0f)
Constructor for Pixmap type fonts.