cocos2d/cocos2d-x — pull request #3938 by ThePickleMan (2013-10-14 04:01:56+00:00)
Title: Added triangle, quad bezier, cubic bezier drawing to DrawNode

I'm personally using the triangle method in order to draw triangulated convex polygons.

The quad and cubic beziers, are, of course, very useful for a variety of applications. I cannot guarantee that the cubic one will work with self intersecting beziers.