simple-graph:一些简单的图形的绘制,及基本变换,外加几个3D图形

上传者: 42164534 | 上传时间: 2023-07-03 10:21:30 | 文件大小: 66KB | 文件类型: ZIP
C++
程序说明 程序所在目录要保持结构不变,可以完整的独立在32位或64位系统上运行 程序源码为标准的QT5.2工程文件,编译器需C++11支持 程序运行说明 默认状态下,打开的程序主窗口只能拖一个虚线框,需点击绘图菜单,然后选择对应功能方可继续使用 在绘制图形过程中,都是以鼠标和键盘操作 绘制直线:点击一点不放,移动到另一点,直线随之移动,释放完成绘制 绘制矩形:点击任意一点,拖动不放,到另一点,绘制完成 绘制正方形:和矩形类似,期间按住Shift键 绘制圆(椭圆):点击任意一点拖动 绘制三角形:先以画直线方式画一条直线,移动鼠标,会出现另两条虚线,点击完成三角形绘制 绘制多边形:类似画三角方式,只是多边形不会自动封闭,如果画五边形,则在画完三条边后按下ESC键,移动鼠标补充另外两条线,任意多边形同理。 直线段裁剪:点击后使用虚线框选中,然后只保留在框中的直线 缩放:缩放过程中,必须先确定缩放

文件下载

资源详情

[{"title":"( 38 个子文件 66KB ) simple-graph:一些简单的图形的绘制,及基本变换,外加几个3D图形","children":[{"title":"simple-graph-master","children":[{"title":"Graph.pro.user <span style='color:#111;'> 17.74KB </span>","children":null,"spread":false},{"title":"icon.rc <span style='color:#111;'> 1020B </span>","children":null,"spread":false},{"title":"tddraw.cpp <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"fillshape.cpp <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"ccohen_sutherland.cpp <span style='color:#111;'> 5.99KB </span>","children":null,"spread":false},{"title":"graphscaled.cpp <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false},{"title":"tddraw.h <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"icon.qrc <span style='color:#111;'> 91B </span>","children":null,"spread":false},{"title":"colorlabel.cpp <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"graphtool.cpp <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"ccohen_sutherland.h <span style='color:#111;'> 778B </span>","children":null,"spread":false},{"title":"fillshape.h <span style='color:#111;'> 379B </span>","children":null,"spread":false},{"title":"graphrevolve.h <span style='color:#111;'> 698B </span>","children":null,"spread":false},{"title":"GraphVector.h <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"Readme.md <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"imageaction.cpp <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"imageaction.h <span style='color:#111;'> 262B </span>","children":null,"spread":false},{"title":"myopengl.cpp <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"colorlabel.h <span style='color:#111;'> 438B </span>","children":null,"spread":false},{"title":"graphtool.h <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'> 7.55KB </span>","children":null,"spread":false},{"title":"graphrevolve.cpp <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"myopengl.h <span style='color:#111;'> 996B </span>","children":null,"spread":false},{"title":"graphmove.h <span style='color:#111;'> 596B </span>","children":null,"spread":false},{"title":"ActionType.h <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"zh_CN.ts <span style='color:#111;'> 10.95KB </span>","children":null,"spread":false},{"title":"zh_CN.qm <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 7.12KB </span>","children":null,"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"painterwidget.h <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"colorwidget.cpp <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"graphmove.cpp <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"Graph.ico <span style='color:#111;'> 34.25KB </span>","children":null,"spread":false},{"title":"painterwidget.cpp <span style='color:#111;'> 15.28KB </span>","children":null,"spread":false},{"title":"graphscaled.h <span style='color:#111;'> 673B </span>","children":null,"spread":false},{"title":"Graph.pro <span style='color:#111;'> 967B </span>","children":null,"spread":false},{"title":"Graph.pro.user.3.3-pre1 <span style='color:#111;'> 17.59KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明