add path rendering to cocos2d-x