cocos2d-x  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCFreeTypeFont Class Reference

#include <CCFreeTypeFont.h>

Public Member Functions

 CCFreeTypeFont ()
 ~CCFreeTypeFont ()
bool initWithString (const char *pText, const char *pFontName, int nSize, int width, int height)
unsigned char * getBitmap (CCImage::ETextAlign eAlignMask, int *outWidth, int *outHeight)

Constructor & Destructor Documentation

Member Function Documentation

unsigned char* getBitmap ( CCImage::ETextAlign  eAlignMask,
int *  outWidth,
int *  outHeight 
bool initWithString ( const char *  pText,
const char *  pFontName,
int  nSize,
int  width,
int  height 

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