#include <CCFontFNT.h>
Public Member Functions | |
virtual int * | getHorizontalKerningForTextUTF16 (const std::u16string &text, int &outNumLetters) const override |
var | getHorizontalKerningForTextUTF16 ( var text, var outNumLetters) |
local | getHorizontalKerningForTextUTF16 ( local text, local outNumLetters) |
virtual FontAtlas * | createFontAtlas () override |
var | createFontAtlas () |
local | createFontAtlas () |
Public Member Functions inherited from Font | |
virtual const char * | getCurrentGlyphCollection () const |
local | getCurrentGlyphCollection () |
virtual int | getFontMaxHeight () const |
var | getFontMaxHeight () |
local | getFontMaxHeight () |
Public Member Functions inherited from Ref | |
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 () |
Static Public Member Functions | |
static FontFNT * | create (const std::string &fntFilePath, const Vec2 &imageOffset=Vec2::ZERO) |
local | create ( local fntFilePath, local ZERO) |
static void | purgeCachedData () |
Purges the cached data. More... | |
Protected Member Functions | |
FontFNT (BMFontConfiguration *theContfig, const Vec2 &imageOffset=Vec2::ZERO) | |
FontFNT ( var theContfig, var ZERO) | |
FontFNT ( local theContfig, local ZERO) | |
virtual | ~FontFNT () |
Protected Member Functions inherited from Font | |
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... | |
Additional Inherited Members | |
Protected Attributes inherited from Font | |
GlyphCollection | _usedGlyphs |
var | _usedGlyphs |
local | _usedGlyphs |
char * | _customGlyphs |
var | _customGlyphs |
local | _customGlyphs |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
Static Protected Attributes inherited from Font | |
static const char * | _glyphASCII |
var | _glyphASCII |
local | _glyphASCII |
static const char * | _glyphNEHE |
var | _glyphNEHE |
local | _glyphNEHE |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
static |
|
static |
|
static |
|
overridevirtual |
Implements Font.
|
overridevirtual |
Implements Font.
|
overridevirtual |
Implements Font.
|
overridevirtual |
Implements Font.
|
overridevirtual |
Implements Font.
|
static |
Purges the cached data.
Removes from memory the cached configurations and the atlas name dictionary.
|
static |
Purges the cached data.
Removes from memory the cached configurations and the atlas name dictionary.
|
static |
Purges the cached data.
Removes from memory the cached configurations and the atlas name dictionary.