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);
|
|
|
|
void ccDrawPoly(const CCPoint *vertices, int numOfVertices, bool closePolygon);
|
|
|
|
void ccDrawCircle(CCPoint center, float radius, float angle, int segments, bool drawLineToCenter);
|
2011-06-14 14:31:25 +08:00
|
|
|
void ccDrawQuadBezier(CCPoint origin, CCPoint control, CCPoint destination, int segments);
|
|
|
|
void ccDrawCubicBezier(CCPoint origin, CCPoint control1, CCPoint control2, CCPoint destination, int segments);
|