How to achieve Drawing board and eraser function in cocos2dx??help

How to achieve Drawing board and eraser function in cocos2dx??

thank you