简单绘图程序(实现和windows自带画图软件的基本功能)

上传者: conghua19 | 上传时间: 2019-12-21 19:35:37 | 文件大小: 4.07MB | 文件类型: rar
1、画直线:通过OnLine()函数实现。 2、画矩形:通过OnRectangle()函数实现。 3、画椭圆:通过OnEllipse()函数实现。 4、铅笔工具:可以画任意线条。通过OnPencil()函数实现。 5、右键弹出菜单:可以在客户中点击鼠标右键,快速选择常用菜单。通过OnContextMenu函数实现。 6、状态栏显示鼠标移动的坐标:在程序的右下角显示,通过OnUpdateX(CCmdUI *pCmdUI)和OnUpdateY(CCmdUI *pCmdUI)这两个函数实现。 7、画图颜色选择:可以画任何颜色的线条,通过OnEditColor()函数实现。 8、读取bmp位图:可以在电脑中选择一个bmp位图,在程序中显示出来,通过新建一个Cdib类来读取bmp文件信息再view类和Doc类调用来显示该位图。 9、保存为bmp位图:可以将在程序所画的图形保存为一幅bmp图片,通过view中的SaveAsBmp(CString filename)实现。

文件下载

资源详情

[{"title":"( 56 个子文件 4.07MB ) 简单绘图程序(实现和windows自带画图软件的基本功能)","children":[{"title":"Drawing","children":[{"title":"Drawing.clw <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"Drawing.dsw <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"Drawing.dsp <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"Drawing.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Toolbar.bmp <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"Drawing.rc2 <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"IDC_.bmp <span style='color:#111;'> 828.80KB </span>","children":null,"spread":false},{"title":"DrawingDoc.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"DrawingDoc.cpp <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":"Drawing.rc <span style='color:#111;'> 15.61KB </span>","children":null,"spread":false},{"title":"Drawing.plg <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"ChildFrm.cpp <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"Drawing.cpp <span style='color:#111;'> 4.40KB </span>","children":null,"spread":false},{"title":"SettingDlg.h <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"DrawingView.cpp <span style='color:#111;'> 12.71KB </span>","children":null,"spread":false},{"title":"DrawingDoc.h <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"MainFrm.cpp <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"Dib.cpp <span style='color:#111;'> 6.56KB </span>","children":null,"spread":false},{"title":"SettingDlg.cpp <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"MainFrm.h <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"ChildFrm.h <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"Drawing.ncb <span style='color:#111;'> 241.00KB </span>","children":null,"spread":false},{"title":"DrawingView.h <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Drawing.ilk <span style='color:#111;'> 443.59KB </span>","children":null,"spread":false},{"title":"DrawingDoc.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DrawingDoc.obj <span style='color:#111;'> 22.35KB </span>","children":null,"spread":false},{"title":"ChildFrm.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 103.06KB </span>","children":null,"spread":false},{"title":"Dib.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Drawing.pdb <span style='color:#111;'> 585.00KB </span>","children":null,"spread":false},{"title":"Dib.obj <span style='color:#111;'> 17.72KB </span>","children":null,"spread":false},{"title":"Drawing.pch <span style='color:#111;'> 6.71MB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 241.00KB </span>","children":null,"spread":false},{"title":"DrawingView.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SettingDlg.obj <span style='color:#111;'> 15.30KB </span>","children":null,"spread":false},{"title":"Drawing.exe <span style='color:#111;'> 144.06KB </span>","children":null,"spread":false},{"title":"Drawing.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"MainFrm.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 372.00KB </span>","children":null,"spread":false},{"title":"Drawing.bsc <span style='color:#111;'> 5.30MB </span>","children":null,"spread":false},{"title":"MainFrm.obj <span style='color:#111;'> 18.50KB </span>","children":null,"spread":false},{"title":"ChildFrm.obj <span style='color:#111;'> 16.41KB </span>","children":null,"spread":false},{"title":"Drawing.obj <span style='color:#111;'> 23.23KB </span>","children":null,"spread":false},{"title":"Drawing.res <span style='color:#111;'> 9.22KB </span>","children":null,"spread":false},{"title":"SettingDlg.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DrawingView.obj <span style='color:#111;'> 59.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"Drawing.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Drawing.opt <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"Drawing.aps <span style='color:#111;'> 31.90KB </span>","children":null,"spread":false},{"title":"Drawing.idl <span style='color:#111;'> 407B </span>","children":null,"spread":false},{"title":"Dib.h <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 4.68KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • pansaoli :
    打不开 怎么办啊
    2019-05-16
  • P猪大侠 :
    资源很不错,很有用哦
    2018-03-08
  • zhaoroc1017 :
    VS2012打开不正确???
    2017-12-06
  • nankor :
    资源很不错,很有用哦
    2015-09-23
  • Allfor_thework :
    还不错,至少功能算挺全的
    2015-01-24

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明