#include <CCFont.h>
|
virtual FontAtlas * | createFontAtlas ()=0 |
local | createFontAtlas () |
virtual int * | getHorizontalKerningForTextUTF16 (unsigned short *text, int &outNumLetters) const =0 |
var | getHorizontalKerningForTextUTF16 ( var text, var outNumLetters) |
local | getHorizontalKerningForTextUTF16 ( local text, local outNumLetters) |
virtual const char * | getCurrentGlyphCollection () const |
virtual unsigned char * | getGlyphBitmap (unsigned short theChar, int &outWidth, int &outHeight) const |
local | getGlyphBitmap ( local theChar, local outWidth, local outHeight) |
virtual int | getFontMaxHeight () const |
var | getFontMaxHeight () |
local | getFontMaxHeight () |
virtual int | getUTF16TextLenght (unsigned short int *text) const |
var | getUTF16TextLenght ( var text) |
local | getUTF16TextLenght ( local text) |
virtual unsigned short * | getUTF16Text (const char *text, int &outNumLetters) const |
var | getUTF16Text ( var text, var outNumLetters) |
local | getUTF16Text ( local text, local outNumLetters) |
virtual unsigned short * | trimUTF16Text (unsigned short int *text, int newBegin, int newEnd) const |
| Object () |
| Constructor. More...
|
|
virtual | ~Object () |
void | release () |
| Release the ownership immediately. More...
|
|
void | retain () |
| Retains the ownership. More...
|
|
Object * | autorelease () |
| Release the ownership sometime soon automatically. More...
|
|
bool | isSingleReference () const |
| Returns a boolean value that indicates whether there is only one reference to the object. More...
|
|
unsigned int | retainCount () const |
| Returns the object's current reference count. More...
|
|
unsigned int | getReferenceCount () const |
virtual bool | isEqual (const Object *object) |
| Returns a boolean value that indicates whether this object and a given object are equal. More...
|
|
virtual void | acceptVisitor (DataVisitor &visitor) |
virtual void | update (float dt) |
local createFontAtlas |
( |
) | |
|
|
pure virtual |
virtual const char*
getCurrentGlyphCollection |
( |
) | |
const |
|
virtual |
var getCurrentGlyphCollection |
( |
) | |
|
|
virtual |
local getCurrentGlyphCollection |
( |
) | |
|
|
virtual |
virtual int getFontMaxHeight |
( |
) | |
const |
|
inlinevirtual |
local getFontMaxHeight |
( |
) | |
|
|
inlinevirtual |
virtual unsigned char*
getGlyphBitmap |
( |
unsigned short |
theChar, |
|
|
int & |
outWidth, |
|
|
int & |
outHeight |
|
) |
| const |
|
inlinevirtual |
var getGlyphBitmap |
( |
var |
theChar, |
|
|
var |
outWidth, |
|
|
var |
outHeight |
|
) |
| |
|
inlinevirtual |
local getGlyphBitmap |
( |
local |
theChar, |
|
|
local |
outWidth, |
|
|
local |
outHeight |
|
) |
| |
|
inlinevirtual |
var getGlyphCollection |
( |
var |
glyphs) | |
|
|
protected |
local getGlyphCollection |
( |
local |
glyphs) | |
|
|
protected |
virtual int*
getHorizontalKerningForTextUTF16 |
( |
unsigned short * |
text, |
|
|
int & |
outNumLetters |
|
) |
| const |
|
pure virtual |
var
getHorizontalKerningForTextUTF16 |
( |
var |
text, |
|
|
var |
outNumLetters |
|
) |
| |
|
pure virtual |
local
getHorizontalKerningForTextUTF16 |
( |
local |
text, |
|
|
local |
outNumLetters |
|
) |
| |
|
pure virtual |
virtual unsigned short*
getUTF16Text |
( |
const char * |
text, |
|
|
int & |
outNumLetters |
|
) |
| const |
|
virtual |
var getUTF16Text |
( |
var |
text, |
|
|
var |
outNumLetters |
|
) |
| |
|
virtual |
local getUTF16Text |
( |
local |
text, |
|
|
local |
outNumLetters |
|
) |
| |
|
virtual |
virtual int getUTF16TextLenght |
( |
unsigned short int * |
text) | |
const |
|
virtual |
var getUTF16TextLenght |
( |
var |
text) | |
|
|
virtual |
local getUTF16TextLenght |
( |
local |
text) | |
|
|
virtual |
void setCurrentGlyphCollection |
( |
GlyphCollection |
glyphs, |
|
|
const char * |
customGlyphs = 0 |
|
) |
| |
|
protected |
var setCurrentGlyphCollection |
( |
var |
glyphs, |
|
|
var |
customGlyphs = 0 |
|
) |
| |
|
protected |
local setCurrentGlyphCollection |
( |
local |
glyphs, |
|
|
local |
customGlyphs = 0 |
|
) |
| |
|
protected |
virtual unsigned short*
trimUTF16Text |
( |
unsigned short int * |
text, |
|
|
int |
newBegin, |
|
|
int |
newEnd |
|
) |
| const |
|
virtual |
var trimUTF16Text |
( |
var |
text, |
|
|
var |
newBegin, |
|
|
var |
newEnd |
|
) |
| |
|
virtual |
local trimUTF16Text |
( |
local |
text, |
|
|
local |
newBegin, |
|
|
local |
newEnd |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following file:
- /Users/cocos2d/MyWork/cocos2d-x-develop/cocos/2d/CCFont.h