axmol/extensions/fairygui/display/BitmapFont.cpp

25 lines
415 B
C++

#include "BitmapFont.h"
USING_NS_FGUI;
BitmapFont::BitmapFont():_fontAtlas(nullptr),_originalFontSize(0),_resizable(false)
{
}
BitmapFont::~BitmapFont()
{
}
BitmapFont * BitmapFont::create()
{
BitmapFont *font = new BitmapFont();
font->autorelease();
return font;
}
int * BitmapFont::getHorizontalKerningForTextUTF32(const std::u32string & text, int & outNumLetters) const
{
return nullptr;
}