搜索资源列表
GIF22
- 基于MFC的文档/视图结构的编程,本程序的编程思想是,将GIF格式的图像编写一个类,然后调用它的成员函数,在视图类中进行显示,它可以将GIF图像中的多帧图像一一显示出来,本程序只显示GIF图像,-based MFC Document / View structure of the program, the process of programming ideas, will GIF format images to prepare a category, and then call it a m
C++开发图形计算程序
- 编写C++程序完成以下功能: (1) 定义一个Point类,其属性包括点的坐标,提供计算两点之间距离的方法; (2) 定义一个矩形类,其属性包括左上角和右下角两个点,提供计算面积的方法; (3) 创建一个矩形对象,提示用户输入矩形左上角和右下角的坐标; (4) 观察矩形对象以及Point类成员的构造函数与析构函数的调用; (5) 计算其面积,并输出。 -Write C++ program performs the following functions: (1
VC画图源代码
- 一个VC画图程序,有文档说明。自画直线,矩形,园 完结版 画布,ScrollView, CRectTracker,调色板,保存成位图 加入中间层View的步骤 1.创建MFC类CHDrawPView:CScrollView 2.修改CHDrawApp的InitInstance方法,将CHDrawView改为CHDrawPView,并修改include 加入CRectTracker的步骤 1.增加成员变量CRectTracker m_tracker 2.在CHDrawPView的构
PictureCommon
- vc下封装完美的一个picture类,图像处理中可能会用到很多它的成员函数。-vc under a picture perfect package type, image processing may be used in many of its member functions.
cshape
- 以CDC类的成员函数为基础,完成了一个基本几何图形绘制和效果填充的类CShape.实现的具体图形绘制有三种:1.几何轮廓绘制。2.单色几何图形的填充。3.颜色渐变填充。-To CDC class member functions, based on the completion of a basic geometric shapes drawn and effectiveness of the class filled CShape. To achieve a specific graphics
BitMap
- 从资源中载入GDI位图,本例利用CBitmap类的LoadBitmap()成员函数实现的-GDI loaded from a resource bitmap, in this case using CBitmap class LoadBitmap () member function implementation
MFC-mouse-control
- MFC鼠标响应、鼠标画线,鼠标响应关键就是对两个函数进行操作:OnLButtonDown和OnLButtonUp; 1、使用MFC AppWizard(exe)建立一个单文档MFC工程 2、首先要在CxxxView类的定义里加上后续必备的数据成员 -MFC mouse response, the mouse to draw lines
