-
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
-
microsoft_program_soul 微软编程精髓
microsoft_program_soul 微软编程精髓-microsoft programme soul
- 2023-06-06 15:30:04下载
- 积分:1
-
Geodetic coordinate conversion used in the Gaussian, UTM Positive Solutions Sour...
大地坐标转换中用到的高斯、UTM正解源码-Geodetic coordinate conversion used in the Gaussian, UTM Positive Solutions Source
- 2022-02-12 13:51:41下载
- 积分:1
-
Cele Task
Cele Task - 强大的工作管理员-Cele Task- a powerful Task Manager
- 2022-03-24 02:47:35下载
- 积分:1
-
工作分配问题,该程序能够有效的进行工作分配,使得最终合乎要求...
工作分配问题,该程序能够有效的进行工作分配,使得最终合乎要求-work
- 2022-03-06 18:04:48下载
- 积分:1
-
MFC Insider (source book distribution) CHAP04.rar
MFC技术内幕(配书源码)CHAP04.rar-MFC Insider (source book distribution) CHAP04.rar
- 2022-02-06 18:46:21下载
- 积分:1
-
Windows Mobile development document
Windows Mobile development document
- 2022-05-23 21:13:11下载
- 积分:1
-
WinCE under excellent tool of the software
WinCE下绝好的工具条软件-WinCE under excellent tool of the software
- 2022-01-24 16:23:58下载
- 积分:1
-
POJ typical Oklahoma Elaborates on topics include source code and they should pa...
poj典型题目解题思路详解
包含源代码和解题时应注意的问题及题目陷阱设计分析-POJ typical Oklahoma Elaborates on topics include source code and they should pay attention to solving the problems and pitfalls topic Design Analysis
- 2022-05-08 18:58:30下载
- 积分:1
-
One of the best document you may find to simplimfy and give the best results for...
One of the best document you may find to simplimfy and give the best results for code review.
- 2022-12-20 22:20:04下载
- 积分:1