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