Misc free functions. More...
Namespaces | |
cocos2d | |
cocos2d::utils | |
Functions | |
int | (int value) |
Returns the Next Power of Two value. More... | |
void CC_DLL | (const std::function< void(bool, const std::string &)> &afterCaptured, const std::string &filename) |
Capture the entire screen. More... | |
std::vector< Node * > CC_DLL | (const Node &node, const std::string &name) |
Find children by name, it will return all child that has the same name. More... | |
double CC_DLL | (const char *str) |
Same to ::atof, but strip the string, remain 7 numbers after '. More... | |
double CC_DLL | () |
Get current exact time, accurate to nanoseconds. More... | |
Rect CC_DLL | (Node *node) |
Calculate unionof bounding box of a node and its children. More... | |
var | ( var node) |
Calculate unionof bounding box of a node and its children. More... | |
local | ( local node) |
Calculate unionof bounding box of a node and its children. More... | |
Misc free functions.