5#ifndef NIRT_I_GUI_FONT_BITMAP_HPP_INCLUDED
6#define NIRT_I_GUI_FONT_BITMAP_HPP_INCLUDED
8#include <nirtcpp/core/engine/IGUIFont.hpp>
39 virtual s32 getKerningWidth(
const wchar_t* thisLetter=0,
const wchar_t* previousLetter=0)
const override = 0;
Font interface.
Definition IGUIFontBitmap.hpp:18
virtual u32 getSpriteNoFromChar(const wchar_t *c) const =0
returns the sprite number from a given character
virtual EGUI_FONT_TYPE getType() const override
Returns the type of this font.
Definition IGUIFontBitmap.hpp:22
virtual IGUISpriteBank * getSpriteBank() const =0
returns the parsed Symbol Information
virtual s32 getKerningWidth(const wchar_t *thisLetter=0, const wchar_t *previousLetter=0) const override=0
Gets kerning values (distance between letters) for the font. If no parameters are provided,...
Font interface.
Definition IGUIFont.hpp:40
Sprite bank interface.
Definition IGUISpriteBank.hpp:71
EGUI_FONT_TYPE
An enum for the different types of GUI font.
Definition IGUIFont.hpp:20
@ EGFT_BITMAP
Bitmap fonts loaded from an XML file or a texture.
Definition IGUIFont.hpp:22
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64