资 源 简 介
鼠标画图
要求:1、左键按下去开始画线,抬起后结束画线;左键双击后在该点会画一个大小随机的四边形。
2、右键单击后在该点会画一个大小随机的圆;中键按下后会在屏幕上输出一行“用鼠标画图的实验”字符,颜色和字体可以自定义。
3、所有数据的存储要定义在文档类中,而且之前所有的图形都可以回显。不要求对程序生成的图形进行文件保存
-Mouse drawing requirements: 1, left it to start by drawing a line, raised his paintings after the end of line left double-click in the point size will draw a random quadrilateral. 2, right-click in the point will draw a circle the size of random in key press will be output on the screen and his " experiments with the mouse to draw" characters, colors and fonts can be customized. 3, all data storage to the definition of class in the document, but before all of the graphics can be a significant return. Does not require the program to generate the graphics file