-
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
-
a)需求分析:
任务 :对一篇英文文章,统计各字符出现的次数,实现Huffman编码;
要求:输出每个字符出现的次数和编码,其中求最小权值要求用堆实现;...
a)需求分析:
任务 :对一篇英文文章,统计各字符出现的次数,实现Huffman编码;
要求:输出每个字符出现的次数和编码,其中求最小权值要求用堆实现;
b)概要设计:
本程序所使用的数据结构是树和线性表,所使用的算法主要有堆排序、赫夫曼算法。
-a) Requirements Analysis : Mandate : an article in English, statistics of the number of characters to achieve Huffman coding; Requirements : Every character in the output of the number and the code for which the minimum requirement of the right to use Heap; B) Summary of design : the procedures used by the data nodes the tree structure and linear form, the algorithm used by the main sculpture, in order Huffman algorithm.
- 2022-03-06 12:21:16下载
- 积分:1
-
C algorithms commonly used procedures set
C常用算法程序集-徐士良-C algorithms commonly used procedures set-XU Shi-liang
- 2022-03-22 22:57:05下载
- 积分:1
-
可用于管理小型的图书系统
可用于管理小型的图书系统-management for the small library system
- 2022-07-09 13:36:51下载
- 积分:1
-
井字游戏
这是一个简单的问题vb.net版井字游戏的应用。这是一个很好的应用程序vb.net版开始
- 2023-08-14 13:20:03下载
- 积分:1
-
复制位图文件到粘贴板中
复制位图文件到粘贴板中-Copy bitmap files to clipboard
- 2022-08-07 19:52:13下载
- 积分:1
-
这个函数能够实现在界面上显示一幅正弦曲线图
这个函数能够实现在界面上显示一幅正弦曲线图-Implementation of this function at the interface can display up Sine curve
- 2022-03-12 10:31:10下载
- 积分:1
-
子类化程序,显示所有的消息
子类化程序,显示所有的消息-Subclassing procedures, show all the news
- 2022-03-12 08:54:27下载
- 积分:1
-
wince6.0系统平台下,汉王马兰花全屏手写相当好用,千辛万苦搜集来的,一定要珍惜...
wince6.0系统平台下,汉王马兰花全屏手写相当好用,千辛万苦搜集来的,一定要珍惜-wince6.0wince6.0wince6.0
- 2023-01-10 05:10:04下载
- 积分:1
-
xvbxhbxfcbcfbcbcvb x b
xvbxhbxfcbcfbcbcvb x b -xvbxhbxfcbcfbcbcvb x
- 2023-03-22 06:10:04下载
- 积分:1