文件名称:DArray
- 所属分类:
- 绘图程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- f**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
写一个画图小程序MiniDraw,要求画直线(Line),椭圆(Ellipse),矩形(Rectangle),多边形(Polygon)等图形元素(图元)。 每种图元需用一个类(对象)来封装,如CLine, CEllipse, CRect, CPolygon; 各种图元可从一个父类CShape来继承; 每种图元的绘制不一样,但是绘制接口在父类中是一样,因此可学习和使用类的多态性-Write a drawing applet MiniDraw, required drawing a straight line (Line), Oval (Ellipse), rectangular (Rectangle), polygons (Polygon) and other graphic elements (primitives). Xu Yong of each pixel of a class (object) to encapsulate, as CLine, CEllipse, CRect, CPolygon A variety of primitives from a parent class CShape to succeed Each pixel of the drawing is not the same, but draw the interface in the parent class is the same, so you can learn and use class polymorphism.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DArray\DArray.cpp
......\DArray.dsw
......\DArray.h
......\test.cpp
DArray
......\DArray.dsw
......\DArray.h
......\test.cpp
DArray