2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
void ccDrawPoint(CCPoint point);
|
|
|
|
void ccDrawPoints(const CCPoint *points, unsigned int numberOfPoints);
|
|
|
|
void ccDrawLine(CCPoint origin, CCPoint destination);
|
2012-08-10 18:14:04 +08:00
|
|
|
void ccDrawRect(CCPoint origin, CCPoint destination);
|
|
|
|
void ccDrawSolidRect(CCPoint origin, CCPoint destination, ccColor4F color);
|
|
|
|
void ccDrawPoly(const CCPoint *vertices, unsigned int numOfVertices, bool closePolygon);
|
|
|
|
void ccDrawSolidPoly(const CCPoint* poli, unsigned int numberOfPoints, ccColor4F color);
|
2012-05-29 17:25:18 +08:00
|
|
|
void ccDrawCircle(CCPoint center, float radius, float angle, unsigned int segments, bool drawLineToCenter);
|
|
|
|
void ccDrawQuadBezier(CCPoint origin, CCPoint control, CCPoint destination, unsigned int segments);
|
|
|
|
void ccDrawCubicBezier(CCPoint origin, CCPoint control1, CCPoint control2, CCPoint destination, unsigned int segments);
|
2012-08-10 18:14:04 +08:00
|
|
|
void ccDrawCatmullRom(CCPointArray* arrayOfControlPoints, unsigned int segments);
|
|
|
|
void ccDrawCardinalSpline(CCPointArray* config, float tension, unsigned int segments);
|
|
|
|
void ccDrawColor4B(GLubyte r, GLubyte g, GLubyte b, GLubyte a);
|
|
|
|
void ccDrawColor4F(GLubyte r, GLubyte g, GLubyte b, GLubyte a);
|
|
|
|
void ccPointSize(GLfloat pointSize);
|
2012-08-31 18:29:44 +08:00
|
|
|
|
|
|
|
// glew.h API:
|
2012-09-02 01:18:28 +08:00
|
|
|
// void glLineWidth(GLfloat width);
|