cocos2d-x  3.0-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCBMFontConfiguration Class Reference

CCBMFontConfiguration has parsed configuration of the the .fnt file. More...

#include <CCLabelBMFont.h>

Inheritance diagram for CCBMFontConfiguration:
Object

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
- Public Member Functions inherited from Object
 Object ()
 Constructor. More...
 
virtual ~Object ()
void release ()
 Release the ownership immediately. More...
 
void retain ()
 Retains the ownership. More...
 
Objectautorelease ()
 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 CCBMFontConfigurationcreate (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
- 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 _referenceCount
 count of references More...
 

Detailed Description

CCBMFontConfiguration has parsed configuration of the the .fnt file.

Since
v0.8

Constructor & Destructor Documentation

virtual ~CCBMFontConfiguration ( )
virtual

Member Function Documentation

static CCBMFontConfiguration*
create
( const std::string &  FNTfile)
static

allocates a CCBMFontConfiguration with a FNT file

std::string description ( ) const
const std::string& getAtlasName ( )
inline
std::set<unsigned int>
* getCharacterSet
( ) const
bool initWithFNTfile ( const std::string &  FNTfile)

initializes a BitmapFontConfiguration with a FNT file

void setAtlasName ( const std::string &  atlasName)
inline

Member Data Documentation

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.


The documentation for this class was generated from the following file: