#include <CCFont.h>
Public Member Functions | |
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 int | getFontMaxHeight () const |
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 |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Release the ownership immediately. More... | |
local | 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 () |
Protected Member Functions | |
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) |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Ref () | |
Constructor. More... | |
Protected Attributes | |
GlyphCollection | _usedGlyphs |
local | _usedGlyphs |
char * | _customGlyphs |
var | _customGlyphs |
local | _customGlyphs |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
Static Protected Attributes | |
static const char * | _glyphASCII |
var | _glyphASCII |
local | _glyphASCII |
static const char * | _glyphNEHE |
var | _glyphNEHE |
local | _glyphNEHE |
|
protected |
|
protected |
|
protected |
|
inlineprotectedvirtual |
|
pure virtual |
Implemented in FontFreeType, FontFNT, and FontCharMap.
|
pure virtual |
Implemented in FontFreeType, FontFNT, and FontCharMap.
|
pure virtual |
Implemented in FontFreeType, FontFNT, and FontCharMap.
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Reimplemented in FontFreeType.
|
inlinevirtual |
Reimplemented in FontFreeType.
|
inlinevirtual |
Reimplemented in FontFreeType.
|
protected |
|
protected |
|
protected |
|
pure virtual |
Implemented in FontFreeType, FontFNT, and FontCharMap.
|
pure virtual |
Implemented in FontFreeType, FontFNT, and FontCharMap.
|
pure virtual |
Implemented in FontFreeType, FontFNT, and FontCharMap.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |