#include <CCFontAtlasCache.h>
|
static FontAtlas * | getFontAtlasTTF (const TTFConfig &config) |
local | getFontAtlasTTF ( local config) |
static FontAtlas * | getFontAtlasFNT (const std::string &fontFileName, const Vec2 &imageOffset=Vec2::ZERO) |
var | getFontAtlasFNT ( var fontFileName, var ZERO) |
local | getFontAtlasFNT ( local fontFileName, local ZERO) |
static FontAtlas * | getFontAtlasCharMap (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 FontAtlas * | getFontAtlasCharMap (Texture2D *texture, int itemWidth, int itemHeight, int startCharMap) |
local | getFontAtlasCharMap ( local texture, local itemWidth, local itemHeight, local startCharMap) |
static FontAtlas * | getFontAtlasCharMap (const std::string &plistFile) |
static bool | releaseFontAtlas (FontAtlas *atlas) |
local | releaseFontAtlas ( local atlas) |
static void | purgeCachedData () |
| Removes cached data. More...
|
|
var | purgeCachedData () |
| Removes cached data. More...
|
|
local | purgeCachedData () |
| Removes cached data. More...
|
|
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 |
var getFontAtlasFNT |
( |
var |
fontFileName, |
|
|
var |
imageOffset = Vec2::ZERO |
|
) |
| |
|
static |
local getFontAtlasFNT |
( |
local |
fontFileName, |
|
|
local |
imageOffset = Vec2::ZERO |
|
) |
| |
|
static |
var getFontAtlasTTF |
( |
var |
config | ) |
|
|
static |
local getFontAtlasTTF |
( |
local |
config | ) |
|
|
static |
static void purgeCachedData |
( |
| ) |
|
|
static |
Removes cached data.
It will purge the textures atlas and if multiple texture exist in one FontAtlas.
Removes cached data.
It will purge the textures atlas and if multiple texture exist in one FontAtlas.
local purgeCachedData |
( |
| ) |
|
|
static |
Removes cached data.
It will purge the textures atlas and if multiple texture exist in one FontAtlas.
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: