CCBMFontConfiguration has parsed configuration of the the .fnt file. More...
#include <CCLabelBMFont.h>
Public Member Functions | |
CCBMFontConfiguration () | |
virtual | ~CCBMFontConfiguration () |
std::string | description () const |
bool | initWithFNTfile (const std::string &FNTfile) |
initializes a BitmapFontConfiguration with a FNT file More... | |
const std::string & | getAtlasName () |
void | setAtlasName (const std::string &atlasName) |
std::set< unsigned int > * | getCharacterSet () const |
![]() | |
Object () | |
Constructor. More... | |
virtual | ~Object () |
void | release () |
Release the ownership immediately. More... | |
void | retain () |
Retains the ownership. More... | |
Object * | autorelease () |
Release the ownership sometime soon automatically. More... | |
bool | isSingleReference () const |
Returns a boolean value that indicates whether there is only one reference to the object. More... | |
unsigned int | retainCount () const |
Returns the object's current reference count. More... | |
unsigned int | getReferenceCount () const |
virtual bool | isEqual (const Object *object) |
Returns a boolean value that indicates whether this object and a given object are equal. More... | |
virtual void | acceptVisitor (DataVisitor &visitor) |
virtual void | update (float dt) |
Static Public Member Functions | |
static CCBMFontConfiguration * | create (const std::string &FNTfile) |
allocates a CCBMFontConfiguration with a FNT file More... | |
Public Attributes | |
tFontDefHashElement * | _fontDefDictionary |
int | _commonHeight |
FNTConfig: Common Height Should be signed (issue #1343) More... | |
ccBMFontPadding | _padding |
Padding. More... | |
std::string | _atlasName |
atlas name More... | |
tKerningHashElement * | _kerningDictionary |
values for kerning More... | |
std::set< unsigned int > * | _characterSet |
![]() | |
unsigned int | _ID |
object id, ScriptSupport need public _ID More... | |
int | _luaID |
Lua reference id. More... | |
Additional Inherited Members | |
![]() | |
unsigned int | _referenceCount |
count of references More... | |
CCBMFontConfiguration has parsed configuration of the the .fnt file.
|
virtual |
|
static |
allocates a CCBMFontConfiguration with a FNT file
std::string description | ( | ) | const |
|
inline |
std::set<unsigned int> * getCharacterSet |
( | ) | const |
bool initWithFNTfile | ( | const std::string & | FNTfile) |
initializes a BitmapFontConfiguration with a FNT file
|
inline |
std::string _atlasName |
atlas name
std::set<unsigned int> * _characterSet |
int _commonHeight |
FNTConfig: Common Height Should be signed (issue #1343)
tFontDefHashElement* _fontDefDictionary |
tKerningHashElement* _kerningDictionary |
values for kerning
ccBMFontPadding _padding |
Padding.