文件名称:MyMinDrawing
-
所属分类:
- 标签属性:
- 上传时间:2016-03-16
-
文件大小:14.37kb
-
已下载:5次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个画图小程序MiniDraw,要求画直线(Line),椭圆(Ellipse),矩形(Rectangle),多边形(Polygon)等图形元素(图元)。
每种图元需用一个类(对象)来封装,如Line, Ellipse, Rect, Polygon, Freehand;
各种图元可从一个父类Figure来继承;
每种图元的绘制不一样,但是绘制接口在父类中是一样,因此可学习和使用类的多态性。
-Paint a small program MiniDraw, asked to draw a straight line (Line), oval (Ellipse), rectangle (Rectangle), polygons (Polygon) and other graphic elements (primitives). Each element required a class (object) to the package, such as Line, Ellipse, Rect, Polygon, Freehand the various elements can be inherited a parent class Figure each draw primitives are not the same, but the drawing interface in the parent class is the same, so you can learn and use class polymorphism.
每种图元需用一个类(对象)来封装,如Line, Ellipse, Rect, Polygon, Freehand;
各种图元可从一个父类Figure来继承;
每种图元的绘制不一样,但是绘制接口在父类中是一样,因此可学习和使用类的多态性。
-Paint a small program MiniDraw, asked to draw a straight line (Line), oval (Ellipse), rectangle (Rectangle), polygons (Polygon) and other graphic elements (primitives). Each element required a class (object) to the package, such as Line, Ellipse, Rect, Polygon, Freehand the various elements can be inherited a parent class Figure each draw primitives are not the same, but the drawing interface in the parent class is the same, so you can learn and use class polymorphism.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MyMinDrawing/main.cpp
MyMinDrawing/mainwindow.ui
MyMinDrawing/MyMinDrawing.pro
MyMinDrawing/MyMinDrawing.pro.user
MyMinDrawing/MyMinDrawing.qrc
MyMinDrawing/picture/Delete.jpg
MyMinDrawing/picture/Ellipse.jpg
MyMinDrawing/picture/FreeHand.jpg
MyMinDrawing/picture/Line.jpg
MyMinDrawing/picture/Polygon.jpg
MyMinDrawing/picture/Rectangle.jpg
MyMinDrawing/Resource/ellipse.cpp
MyMinDrawing/Resource/ellipse.h
MyMinDrawing/Resource/figure.cpp
MyMinDrawing/Resource/figure.h
MyMinDrawing/Resource/freehand.cpp
MyMinDrawing/Resource/freehand.h
MyMinDrawing/Resource/line.cpp
MyMinDrawing/Resource/line.h
MyMinDrawing/Resource/polygon.cpp
MyMinDrawing/Resource/polygon.h
MyMinDrawing/Resource/rectangle.cpp
MyMinDrawing/Resource/rectangle.h
MyMinDrawing/Widgets/mainwindow.cpp
MyMinDrawing/Widgets/mainwindow.h
MyMinDrawing/Widgets/viewwidget.cpp
MyMinDrawing/Widgets/viewwidget.h
MyMinDrawing/picture
MyMinDrawing/Resource
MyMinDrawing/Widgets
MyMinDrawing
MyMinDrawing/mainwindow.ui
MyMinDrawing/MyMinDrawing.pro
MyMinDrawing/MyMinDrawing.pro.user
MyMinDrawing/MyMinDrawing.qrc
MyMinDrawing/picture/Delete.jpg
MyMinDrawing/picture/Ellipse.jpg
MyMinDrawing/picture/FreeHand.jpg
MyMinDrawing/picture/Line.jpg
MyMinDrawing/picture/Polygon.jpg
MyMinDrawing/picture/Rectangle.jpg
MyMinDrawing/Resource/ellipse.cpp
MyMinDrawing/Resource/ellipse.h
MyMinDrawing/Resource/figure.cpp
MyMinDrawing/Resource/figure.h
MyMinDrawing/Resource/freehand.cpp
MyMinDrawing/Resource/freehand.h
MyMinDrawing/Resource/line.cpp
MyMinDrawing/Resource/line.h
MyMinDrawing/Resource/polygon.cpp
MyMinDrawing/Resource/polygon.h
MyMinDrawing/Resource/rectangle.cpp
MyMinDrawing/Resource/rectangle.h
MyMinDrawing/Widgets/mainwindow.cpp
MyMinDrawing/Widgets/mainwindow.h
MyMinDrawing/Widgets/viewwidget.cpp
MyMinDrawing/Widgets/viewwidget.h
MyMinDrawing/picture
MyMinDrawing/Resource
MyMinDrawing/Widgets
MyMinDrawing
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.