CCBMFontConfiguration has parsed configuration of the the .fnt file. More...
#include <CCLabelBMFont.h>
Public Member Functions | |
CCBMFontConfiguration () | |
virtual | ~CCBMFontConfiguration () |
const char * | description () const |
bool | initWithFNTfile (const char *FNTfile) |
initializes a BitmapFontConfiguration with a FNT file More... | |
var | initWithFNTfile ( var FNTfile) |
initializes a BitmapFontConfiguration with a FNT file More... | |
local | initWithFNTfile ( local FNTfile) |
initializes a BitmapFontConfiguration with a FNT file More... | |
const char * | getAtlasName () |
void | setAtlasName (const char *atlasName) |
var | setAtlasName ( var atlasName) |
local | setAtlasName ( local atlasName) |
std::set< unsigned int > * | getCharacterSet () const |
local | getCharacterSet () |
Public Member Functions inherited from Object | |
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... | |
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 char *FNTfile) |
allocates a CCBMFontConfiguration with a FNT file More... | |
local | create ( local 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... | |
var | _atlasName |
atlas name More... | |
local | _atlasName |
atlas name More... | |
tKerningHashElement * | _kerningDictionary |
values for kerning More... | |
std::set< unsigned int > * | _characterSet |
Public Attributes inherited from Object | |
unsigned int | _ID |
object id, ScriptSupport need public _ID More... | |
int | _luaID |
Lua reference id. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Object | |
unsigned int | _reference |
count of references More... | |
var | _reference |
count of references More... | |
local | _reference |
count of references More... | |
unsigned int | _autoReleaseCount |
count of autorelease More... | |
var | _autoReleaseCount |
count of autorelease More... | |
local | _autoReleaseCount |
count of autorelease More... | |
CCBMFontConfiguration has parsed configuration of the the .fnt file.
var ctor | ( | ) |
local CCBMFontConfiguration | ( | ) |
|
virtual |
|
static |
allocates a CCBMFontConfiguration with a FNT file
|
static |
allocates a CCBMFontConfiguration with a FNT file
|
static |
allocates a CCBMFontConfiguration with a FNT file
const char* description | ( | ) | const |
|
inline |
|
inline |
|
inline |
std::set<unsigned int> * getCharacterSet |
( | ) | const |
var getCharacterSet | ( | ) |
local getCharacterSet | ( | ) |
bool initWithFNTfile | ( | const char * | FNTfile) |
initializes a BitmapFontConfiguration with a FNT file
var initWithFNTfile | ( | var | FNTfile) |
initializes a BitmapFontConfiguration with a FNT file
local initWithFNTfile | ( | local | FNTfile) |
initializes a BitmapFontConfiguration with a FNT file
|
inline |
|
inline |
|
inline |
std::string _atlasName |
atlas name
var _atlasName |
atlas name
local _atlasName |
atlas name
std::set<unsigned int> * _characterSet |
var _characterSet |
local _characterSet |
int _commonHeight |
FNTConfig: Common Height Should be signed (issue #1343)
var _commonHeight |
FNTConfig: Common Height Should be signed (issue #1343)
local _commonHeight |
FNTConfig: Common Height Should be signed (issue #1343)
tFontDefHashElement* _fontDefDictionary |
var _fontDefDictionary |
local _fontDefDictionary |
tKerningHashElement* _kerningDictionary |
values for kerning
var _kerningDictionary |
values for kerning
local _kerningDictionary |
values for kerning
ccBMFontPadding _padding |
Padding.
var _padding |
Padding.
local _padding |
Padding.