cocos2d-x  3.0-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FontAtlasCache Class Reference

#include <CCFontAtlasCache.h>

Static Public Member Functions

static FontAtlasgetFontAtlasTTF (const std::string &fontFileName, int size, GlyphCollection glyphs, const char *customGlyphs=0, bool useDistanceField=false)
local getFontAtlasTTF ( local fontFileName, local size, local glyphs, local 0, local false)
static FontAtlasgetFontAtlasFNT (const std::string &fontFileName)
local getFontAtlasFNT ( local fontFileName)
static FontAtlasgetFontAtlasCharMap (const std::string &charMapFile, int itemWidth, int itemHeight, int startCharMap)
var getFontAtlasCharMap ( var charMapFile, var itemWidth, var itemHeight, var startCharMap)
local getFontAtlasCharMap ( local charMapFile, local itemWidth, local itemHeight, local startCharMap)
static FontAtlasgetFontAtlasCharMap (Texture2D *texture, int itemWidth, int itemHeight, int startCharMap)
local getFontAtlasCharMap ( local texture, local itemWidth, local itemHeight, local startCharMap)
static FontAtlasgetFontAtlasCharMap (const std::string &plistFile)
static bool releaseFontAtlas (FontAtlas *atlas)

Member Function Documentation

static FontAtlas*
getFontAtlasCharMap
( const std::string &  charMapFile,
int  itemWidth,
int  itemHeight,
int  startCharMap 
)
static
var getFontAtlasCharMap ( var  charMapFile,
var  itemWidth,
var  itemHeight,
var  startCharMap 
)
static
local getFontAtlasCharMap ( local  charMapFile,
local  itemWidth,
local  itemHeight,
local  startCharMap 
)
static
static FontAtlas*
getFontAtlasCharMap
( Texture2D texture,
int  itemWidth,
int  itemHeight,
int  startCharMap 
)
static
var getFontAtlasCharMap ( var  texture,
var  itemWidth,
var  itemHeight,
var  startCharMap 
)
static
local getFontAtlasCharMap ( local  texture,
local  itemWidth,
local  itemHeight,
local  startCharMap 
)
static
static FontAtlas*
getFontAtlasCharMap
( const std::string &  plistFile)
static
var getFontAtlasCharMap ( var  plistFile)
static
local getFontAtlasCharMap ( local  plistFile)
static
static FontAtlas* getFontAtlasFNT ( const std::string &  fontFileName)
static
var getFontAtlasFNT ( var  fontFileName)
static
local getFontAtlasFNT ( local  fontFileName)
static
static FontAtlas* getFontAtlasTTF ( const std::string &  fontFileName,
int  size,
GlyphCollection  glyphs,
const char *  customGlyphs = 0,
bool  useDistanceField = false 
)
static
var getFontAtlasTTF ( var  fontFileName,
var  size,
var  glyphs,
var  customGlyphs = 0,
var  useDistanceField = false 
)
static
local getFontAtlasTTF ( local  fontFileName,
local  size,
local  glyphs,
local  customGlyphs = 0,
local  useDistanceField = false 
)
static
static bool releaseFontAtlas ( FontAtlas atlas)
static
var releaseFontAtlas ( var  atlas)
static
local releaseFontAtlas ( local  atlas)
static

The documentation for this class was generated from the following file: