axmol/tools/tolua++/CCDrawingPrimitives.pkg

9 lines
555 B
Plaintext

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);
void ccDrawQuadBezier(CCPoint origin, CCPoint control, CCPoint destination, int segments);
void ccDrawCubicBezier(CCPoint origin, CCPoint control1, CCPoint control2, CCPoint destination, int segments);