Loading...
Searching...
No Matches
IGUIFontBitmap.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_GUI_FONT_BITMAP_H_INCLUDED__
#define __I_GUI_FONT_BITMAP_H_INCLUDED__
#include "IGUIFont.h"
namespace irr
{
namespace gui
{
class IGUISpriteBank;
class IGUIFontBitmap : public IGUIFont
{
public:
virtual EGUI_FONT_TYPE getType() const { return EGFT_BITMAP; }
virtual IGUISpriteBank* getSpriteBank() const = 0;
virtual u32 getSpriteNoFromChar(const wchar_t *c) const = 0;
virtual s32 getKerningWidth(const wchar_t* thisLetter=0, const wchar_t* previousLetter=0) const = 0;
};
} // end namespace gui
} // end namespace irr
#endif
IGUIFont.h
irr::gui::IGUIFontBitmap
Font interface.
Definition IGUIFontBitmap.h:18
irr::gui::IGUIFontBitmap::getSpriteNoFromChar
virtual u32 getSpriteNoFromChar(const wchar_t *c) const =0
returns the sprite number from a given character
irr::gui::IGUIFontBitmap::getKerningWidth
virtual s32 getKerningWidth(const wchar_t *thisLetter=0, const wchar_t *previousLetter=0) const =0
Gets kerning values (distance between letters) for the font. If no parameters are provided,...
irr::gui::IGUIFontBitmap::getType
virtual EGUI_FONT_TYPE getType() const
Returns the type of this font.
Definition IGUIFontBitmap.h:22
irr::gui::IGUIFontBitmap::getSpriteBank
virtual IGUISpriteBank * getSpriteBank() const =0
returns the parsed Symbol Information
irr::gui::IGUIFont
Font interface.
Definition IGUIFont.h:40
irr::gui::IGUISpriteBank
Sprite bank interface.
Definition IGUISpriteBank.h:46
irr::gui
The gui namespace contains useful classes for easy creation of a graphical user interface.
Definition EGUIAlignment.h:11
irr::gui::EGUI_FONT_TYPE
EGUI_FONT_TYPE
An enum for the different types of GUI font.
Definition IGUIFont.h:20
irr::gui::EGFT_BITMAP
@ EGFT_BITMAP
Bitmap fonts loaded from an XML file or a texture.
Definition IGUIFont.h:22
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
irr::s32
signed int s32
32 bit signed variable.
Definition irrTypes.h:66
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0