搜索资源列表
draw1
- 编写应用程序,可以利用鼠标绘制矩形和圆形,具体功能要求如下: 1、 通过单击工具条按钮(或菜单项)选择绘制矩形或者圆形; 2、 绘制过程中要求实现橡皮线功能和重画(窗口改变的时候,已绘制的图形不能消失); 3、 程序中只能使用SetPixel绘图函数,不能使用其它绘图函数; 4、 [本功能选作]通过单击工具条按钮(或菜单项)显示对话框,让用户可以设置绘制图形的颜色(可以分别输入RGB三颜色分量)-Write applications that can use the mouse
Kaleidoscope
- CDrawKaleidoscope类中封装了绘制屏幕万花筒的功能,通过rand函数随机取出小圆半径的大小,使用COS和sin求出小园上的点,然后使用CDC类的Line To方法将各个点进行连接。-CDrawKaleidoscope class encapsulates kaleidoscope draw the screen functions are picked randomly by the rand function size small circle radius calculated
