cocos2d-x
3.3
|
#include <CCFontCharMap.h>
Public Member Functions | |
virtual int * | getHorizontalKerningForTextUTF16 (const std::u16string &text, int &outNumLetters) const override |
virtual FontAtlas * | createFontAtlas () override |
![]() | |
virtual const char * | getCurrentGlyphCollection () const |
virtual int | getFontMaxHeight () const |
![]() | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
NA NA More... | |
Static Public Member Functions | |
static FontCharMap * | create (const std::string &charMapFile, int itemWidth, int itemHeight, int startCharMap) |
static FontCharMap * | create (Texture2D *texture, int itemWidth, int itemHeight, int startCharMap) |
static FontCharMap * | create (const std::string &plistFile) |
Protected Member Functions | |
FontCharMap (Texture2D *texture, int itemWidth, int itemHeight, int startCharMap) | |
virtual | ~FontCharMap () |
NA NA More... | |
![]() | |
Font () | |
virtual | ~Font () |
NA NA More... | |
void | setCurrentGlyphCollection (GlyphCollection glyphs, const char *customGlyphs=0) |
const char * | getGlyphCollection (GlyphCollection glyphs) const |
![]() | |
Ref () | |
Constructor. More... | |
Additional Inherited Members | |
![]() | |
GlyphCollection | _usedGlyphs |
char * | _customGlyphs |
![]() | |
unsigned int | _referenceCount |
count of references More... | |
![]() | |
static const char * | _glyphASCII |
static const char * | _glyphNEHE |
|
inlineprotected |
|
protectedvirtual |
NA NA
|
static |
|
static |
|
static |
|
overridevirtual |
Implements Font.