-
MFC简单画图程序Draw
这个画图小程序是在 VS2012环境下编写的 MFC 单文档程序, 压缩包内含程序设计详细说明。
功能概述
通过在菜单中选择不同的形状,可以实现画直线、矩形、椭圆以及鼠标按下时随着鼠标移动划线以及橡皮擦功能,
线条粗细、颜色也可以在菜单中调整。
设计思路
通过对菜单的响应获取绘图类型、颜色和线条粗细程度。
通过 CPen 类更改画笔颜色和粗细或将画笔改为橡皮擦,
通过 CDC 类的成员函数 MoveTo( int x, int y ); LineTo( int x, int y ); Rectangle( int x1, int y1, int x2, int y2 ); Ellipse( int x1, int y1, int x2, int y2 ); 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-18 10:23:50下载
- 积分:1
-
vc++在操作系统的应用
vc++在操作系统的应用 -vc in the operating system, applications
- 2022-05-15 05:43:40下载
- 积分:1
-
Using a text file (txt) record information. Information includes: name, birthday...
采用一个文本文件(txt)记录信息。信息包括:姓名、生日、电话、Email、地址、邮编等资料,可以对记录的人员进行分组,如:亲友、同事、同学等。界面由Dos界面命令行的方式实现,功能模拟文曲星或手机的地址本,可以增加、删除、修改个人资料,可以分组人员、可以安各种信息进行模糊查询,-Using a text file (txt) record information. Information includes: name, birthday, telephone, Email, address, postcode and other information, personnel records can be grouped, such as: friends, colleagues, students and so on. Interface from the Dos command line interface means to achieve the functional simulation Wen Quxing or the phone" s address book, you can add, delete, modify personal information, you can group people, all kinds of information can be an ambiguous query,
- 2022-03-16 10:13:14下载
- 积分:1
-
方便的读取矢量数据的类库 尤其是shape 数据的读写
方便的读取矢量数据的类库 尤其是shape 数据的读写-hope you download this lib hope you download this lib hope you download this lib hope you download this lib
- 2022-08-17 22:22:16下载
- 积分:1
-
ie缓存删除程序
是源代码,可以正常编译并且使用,包括清除ie缓存、cookie、历史记录等等。。。。
- 2022-03-24 00:06:26下载
- 积分:1
-
Delphi编程设计希望对你有帮助 Volume in drive D has no label Volume Serial Number is 12FE...
Delphi编程设计希望对你有帮助 Volume in drive D has no label Volume Serial Number is 12FE-1A1D Directory of D:Delphi_SHU-there is a Delphi program design. I hope it can help you .Volume in drive D has no label Volume Serial Number is 12FE-1A1D Directory of D:Delphi_SHU
- 2022-08-22 20:36:40下载
- 积分:1
-
MPEG1 layer3d分度编码器C语言。
MPEG1 layer3d ecoder C语言实现。-MPEG1 layer3d ecoder C language.
- 2023-02-18 12:40:03下载
- 积分:1
-
该程序实现对残缺棋盘覆盖问题的求解 采用方法:分治方法
该程序实现对残缺棋盘覆盖问题的求解 采用方法:分治方法-the program right chessboard incomplete coverage of the methods used to solve : the administration
- 2022-10-27 16:25:03下载
- 积分:1
-
An animated simulation of a vertical pinball bouncing movements, each attenuatio...
模拟一个动画弹球的垂直弹跳的动作,每次衰减为上次高度的0.9,考虑重力加速度。-An animated simulation of a vertical pinball bouncing movements, each attenuation for the last time a high degree of 0.9, consider the acceleration of gravity.
- 2022-11-05 11:00:04下载
- 积分:1
-
文本形式的字节流转binary格式的字节流
文本形式的字节流转binary格式的字节流-text byte transfer binary format byte stream
- 2022-02-15 01:08:43下载
- 积分:1