文件名称:GeometryDraw
- 所属分类:
- GDI/图象编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 102kb
- 下载次数:
- 0次
- 提 供 者:
- 张*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
画图
2.计算计算一组几何图形的面积之和重新写一个函数,类似于sum函数
3.在Shape中添加一个纯虚函数void Draw(CDC *pDC, Coordinate *m_pCoordinate) 它将作为所有几何类绘图的共同方法。
4.添加一个坐标系类:Coordinate。
5.在Polygon中重载void Draw(CDC *pDC)
6.在Ellipse中重载void draw(CDC *pDC)
7.在View类中的OnDraw(CDC *pDC)中将图形画出来
8.调用void draw(CDC *pDC, Shape *a[], int n)实现多个几何图形的绘制-Paint 2. Calculation of calculating a set of geometric shapes of the area and re-write a function, similar to sum function 3. In Shape Add a pure virtual function void Draw (CDC* pDC, Coordinate* m_pCoordinate) it will serve as all the geometric types of graphics common methodology. 4. Add a coordinate system type: Coordinate. 5. Polygon in overloaded void Draw (CDC* pDC) 6. In the Ellipse in overloaded void draw (CDC* pDC) 7. In the View class OnDraw (CDC* pDC) will be drawn graphics 8. Call void draw (CDC* pDC, Shape* a [], int n) the mapping of multiple geometric shapes
2.计算计算一组几何图形的面积之和重新写一个函数,类似于sum函数
3.在Shape中添加一个纯虚函数void Draw(CDC *pDC, Coordinate *m_pCoordinate) 它将作为所有几何类绘图的共同方法。
4.添加一个坐标系类:Coordinate。
5.在Polygon中重载void Draw(CDC *pDC)
6.在Ellipse中重载void draw(CDC *pDC)
7.在View类中的OnDraw(CDC *pDC)中将图形画出来
8.调用void draw(CDC *pDC, Shape *a[], int n)实现多个几何图形的绘制-Paint 2. Calculation of calculating a set of geometric shapes of the area and re-write a function, similar to sum function 3. In Shape Add a pure virtual function void Draw (CDC* pDC, Coordinate* m_pCoordinate) it will serve as all the geometric types of graphics common methodology. 4. Add a coordinate system type: Coordinate. 5. Polygon in overloaded void Draw (CDC* pDC) 6. In the Ellipse in overloaded void draw (CDC* pDC) 7. In the View class OnDraw (CDC* pDC) will be drawn graphics 8. Call void draw (CDC* pDC, Shape* a [], int n) the mapping of multiple geometric shapes
(系统自动生成,下载前可以参看下载内容)
下载文件列表
GeometryDraw
............\Geometry.cpp
............\Geometry.h
............\GeometryDraw.clw
............\GeometryDraw.cpp
............\GeometryDraw.dsp
............\GeometryDraw.dsw
............\GeometryDraw.h
............\GeometryDraw.ncb
............\GeometryDraw.opt
............\GeometryDraw.plg
............\GeometryDraw.rc
............\GeometryDrawDoc.cpp
............\GeometryDrawDoc.h
............\GeometryDrawView.cpp
............\GeometryDrawView.h
............\MainFrm.cpp
............\MainFrm.h
............\ReadMe.txt
............\res
............\...\GeometryDraw.rc2
............\Resource.h
............\Restore.1
............\.........\GeometryDraw.lst
............\RoseReverseProject.mdl
............\RoseReverseProject.md~
............\StdAfx.cpp
............\StdAfx.h
............\设计方案.doc
............\Geometry.cpp
............\Geometry.h
............\GeometryDraw.clw
............\GeometryDraw.cpp
............\GeometryDraw.dsp
............\GeometryDraw.dsw
............\GeometryDraw.h
............\GeometryDraw.ncb
............\GeometryDraw.opt
............\GeometryDraw.plg
............\GeometryDraw.rc
............\GeometryDrawDoc.cpp
............\GeometryDrawDoc.h
............\GeometryDrawView.cpp
............\GeometryDrawView.h
............\MainFrm.cpp
............\MainFrm.h
............\ReadMe.txt
............\res
............\...\GeometryDraw.rc2
............\Resource.h
............\Restore.1
............\.........\GeometryDraw.lst
............\RoseReverseProject.mdl
............\RoseReverseProject.md~
............\StdAfx.cpp
............\StdAfx.h
............\设计方案.doc