void CC_DLL cocos2d::ccDrawInit | ( | ) |
Initializes the drawing primitives. 初始化绘图原语。
void CC_DLL cocos2d::ccDrawPoint | ( | const CCPoint & | point) |
draws a point given x and y coordinate measured in points
void CC_DLL cocos2d::ccDrawPoints | ( | const CCPoint * | points, |
unsigned int | numberOfPoints | ||
) |
draws an array of points.
绘制数组点
void CC_DLL cocos2d::ccDrawLine | ( | const CCPoint & | origin, |
const CCPoint & | destination | ||
) |
draws a line given the origin and destination point measured in points
CC_DLL void cocos2d::CCProfilingBeginTimingBlock | ( | const char * | timerName) |
void CC_DLL cocos2d::ccDrawRect | ( | CCPoint | origin, |
CCPoint | destination | ||
) |
draws a rectangle given the origin and destination point measured in points.
void CC_DLL cocos2d::ccDrawSolidRect | ( | CCPoint | origin, |
CCPoint | destination, | ||
ccColor4F | color | ||
) |
draws a solid rectangle given the origin and destination point measured in points.
画一个实心矩形出发地与目的地之间点以点。
详:
http://www.cocos2d-x.org/reference/native-cpp/V2.2.2/d6/da4/group__global.html#ga5071c6f1da8a7b78e668ef874a71c892
2014.2.24 学习记录