sample application for drawing application