cocos2d-x  2.2
 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)
var initWithString ( var pText, var pFontName, var nSize, var width, var height)
local initWithString ( local pText, local pFontName, local nSize, local width, local height)
unsigned char * getBitmap (CCImage::ETextAlign eAlignMask, int *outWidth, int *outHeight)
local getBitmap ( local eAlignMask, local outWidth, local outHeight)

Constructor & Destructor Documentation

var CCFreeTypeFont ( )
local CCFreeTypeFont ( )
var ~CCFreeTypeFont ( )
local ~CCFreeTypeFont ( )

Member Function Documentation

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

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