implement draw_image_rotated
introduce the new event interface
update the demo