cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
ccBMFontDef Struct Reference

#include <CCLabelBMFont.h>

List of all members.

Public Attributes

unichar charID
 ID of the character.
CGRect 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

ID of the character.

origin and size of the font

The amount to move the current position after drawing the character (in pixels)

The X amount the image should be offset when drawing the image (in pixels)

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: