|
cocos2d-x
2.1.4
|
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ccBMFontDef Struct Reference
BMFont definition. More...
#include <CCLabelBMFont.h>
Public Attributes | |
| unsigned int | charID |
| ID of the character. | |
| CCRect | rect |
| origin and size of the font | |
| short | xOffset |
| The X amount the image should be offset when drawing the image (in pixels) | |
| short | yOffset |
| The Y amount the image should be offset when drawing the image (in pixels) | |
| short | xAdvance |
| The amount to move the current position after drawing the character (in pixels) | |
Detailed Description
BMFont definition.
Member Data Documentation
| unsigned int charID |
ID of the character.
| CCRect rect |
origin and size of the font
| short xAdvance |
The amount to move the current position after drawing the character (in pixels)
| short xOffset |
The X amount the image should be offset when drawing the image (in pixels)
| short yOffset |
The Y amount the image should be offset when drawing the image (in pixels)
The documentation for this struct was generated from the following file:
- /Users/minggo/SourceCode/cocos2dx-root/cocos2dx/label_nodes/CCLabelBMFont.h

