#include <CCFontCharMap.h>
|
virtual int * | getHorizontalKerningForTextUTF16 (unsigned short *text, int &outNumLetters) const override |
var | getHorizontalKerningForTextUTF16 ( var text, var outNumLetters) |
local | getHorizontalKerningForTextUTF16 ( local text, local outNumLetters) |
virtual FontAtlas * | createFontAtlas () override |
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 |
void | retain () |
| Retains the ownership. More...
|
|
void | release () |
| Release the ownership immediately. More...
|
|
Ref * | autorelease () |
| Release the ownership sometime soon automatically. More...
|
|
unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More...
|
|
virtual | ~Ref () |
|
static FontCharMap * | create (const std::string &charMapFile, int itemWidth, int itemHeight, int startCharMap) |
local | create ( local charMapFile, local itemWidth, local itemHeight, local startCharMap) |
static FontCharMap * | create (Texture2D *texture, int itemWidth, int itemHeight, int startCharMap) |
static FontCharMap * | create (const std::string &plistFile) |
|
| FontCharMap (Texture2D *texture, int itemWidth, int itemHeight, int startCharMap) |
| FontCharMap ( var texture, var itemWidth, var itemHeight, var startCharMap) |
| FontCharMap ( local texture, local itemWidth, local itemHeight, local startCharMap) |
virtual | ~FontCharMap () |
| Font () |
| Font () |
| Font () |
virtual | ~Font () |
void | setCurrentGlyphCollection (GlyphCollection glyphs, const char *customGlyphs=0) |
var | setCurrentGlyphCollection ( var glyphs, var 0) |
local | setCurrentGlyphCollection ( local glyphs, local 0) |
const char * | getGlyphCollection (GlyphCollection glyphs) const |
local | getGlyphCollection ( local glyphs) |
| Ref () |
| Constructor. More...
|
|
var FontCharMap |
( |
var |
texture, |
|
|
var |
itemWidth, |
|
|
var |
itemHeight, |
|
|
var |
startCharMap |
|
) |
| |
|
inlineprotected |
local FontCharMap |
( |
local |
texture, |
|
|
local |
itemWidth, |
|
|
local |
itemHeight, |
|
|
local |
startCharMap |
|
) |
| |
|
inlineprotected |
static FontCharMap* create |
( |
const std::string & |
charMapFile, |
|
|
int |
itemWidth, |
|
|
int |
itemHeight, |
|
|
int |
startCharMap |
|
) |
| |
|
static |
var create |
( |
var |
charMapFile, |
|
|
var |
itemWidth, |
|
|
var |
itemHeight, |
|
|
var |
startCharMap |
|
) |
| |
|
static |
local create |
( |
local |
charMapFile, |
|
|
local |
itemWidth, |
|
|
local |
itemHeight, |
|
|
local |
startCharMap |
|
) |
| |
|
static |
var create |
( |
var |
texture, |
|
|
var |
itemWidth, |
|
|
var |
itemHeight, |
|
|
var |
startCharMap |
|
) |
| |
|
static |
local create |
( |
local |
texture, |
|
|
local |
itemWidth, |
|
|
local |
itemHeight, |
|
|
local |
startCharMap |
|
) |
| |
|
static |
static FontCharMap* create |
( |
const std::string & |
plistFile) | |
|
|
static |
var create |
( |
var |
plistFile) | |
|
|
static |
local create |
( |
local |
plistFile) | |
|
|
static |
local createFontAtlas |
( |
) | |
|
|
overridevirtual |
virtual int*
getHorizontalKerningForTextUTF16 |
( |
unsigned short * |
text, |
|
|
int & |
outNumLetters |
|
) |
| const |
|
overridevirtual |
var
getHorizontalKerningForTextUTF16 |
( |
var |
text, |
|
|
var |
outNumLetters |
|
) |
| |
|
overridevirtual |
local
getHorizontalKerningForTextUTF16 |
( |
local |
text, |
|
|
local |
outNumLetters |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following file: