Public Attributes

ccBitmapFontDef Struct Reference

#include <CCBitmapFontAtlas.h>

List of all members.

Public Attributes

unsigned int charID
 ID of the character.
CGRect rect
 origin and size of the font
int xOffset
 The X amount the image should be offset when drawing the image (in pixels).
int yOffset
 The Y amount the image should be offset when drawing the image (in pixels).
int xAdvance
 The amount to move the current position after drawing the character (in pixels).

Detailed Description

bitmap font definition

Definition at line 44 of file CCBitmapFontAtlas.h.


Member Data Documentation

ID of the character.

Definition at line 46 of file CCBitmapFontAtlas.h.

origin and size of the font

Definition at line 48 of file CCBitmapFontAtlas.h.

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

Definition at line 54 of file CCBitmapFontAtlas.h.

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

Definition at line 50 of file CCBitmapFontAtlas.h.

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

Definition at line 52 of file CCBitmapFontAtlas.h.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

cocos2d for iPhone 0.99.4 API Reference - Generated using Doxygen 1.7.1